To my techie friends ...

Jun 03, 2008 14:39


Say one had code that searched a file.  The search string was Chr(0)&Chr(68)&Chr(84) ....

Would that translate correctly as null&D&T (which is correct in the English world) in a country that uses double-byte character languages (Chinese, Japanese, Korean)? 

Leave a comment

Comments 2

quartzpoet June 3 2008, 19:39:06 UTC
I believe so, yes. The first 128 characters of ASCII are, so far as I know, not variable by region. Any character code above 127 is consiered to be "extended".

Reply

quartzpoet June 4 2008, 03:59:06 UTC
Wouldn't an app decoding the string as Unicode identify that as "0x0044" (letter D rather than NUL+D) and then get confused by the 0x56 by itself?

-s

Reply


Leave a comment

Up