gotoken / math.sci.hokudai.ac.jp (GOTO Kentaro) writes: > Sorry, I can't find locale POSIX. If you use Emacs, would you tell me > what buffer-file-coding-system is? nil > Or could you tell me the result of od -x: > > % cat foo.rb > = 1 > % od -t x1 foo.rb 0000000 e0 20 3d 20 31 0a 0000006 > I'm guessing "เข was treated as multibyte character. Seems like it. Guy Decoux suggested changing DEFAULT_KCODE, but a quick grep suggests it's only used in the re.c module. I'm going to try anyway and see what happens. Dave -- Thomas Consulting. Innovative and successful developments with Unix, Java, C, and C++. Now in bookstores: The Pragmatic Programmer. www.pragmaticprogrammer.com/ppbook/