From: Christophe Grandsire Date: 2005-11-04T19:54:04+09:00 Subject: Re: double byte string numbers to_int?? Selon Christophe Grandsire : > > I'm afraid even the parsing capabilities of Date won't solve the problem. It > will probably expect digits that are in their ASCII positions rather than > Unicode characters that happen to look like numbers to us :) . I checked around, and my guess is that your original string contains "fullwidth ASCII variants". For digits, that's U+FF10 to U+FF19. In UTF-8, those are translated into three-byte characters. So your so-called "double byte strings" are really six bytes long, and are not treated as containing numbers by to_i. -- Christophe Grandsire. http://rainbow.conlang.free.fr It takes a straight mind to create a twisted conlang.