Best practice to handle non-english characters is ruby?
- by ragnarius
Hi! My program file is encoded in utf-8 so "abc".length==3 but "åäö".length==6. I realize that å,ä,ö, are stored as two bytes in utf-8, and that a ruby String is a sequence of bytes (not characters), but it is annoying! Is there a best practice to work around this problem?