From: darren kirby Date: 2006-06-23T06:42:25+09:00 Subject: Re: ascii representation of unicode string? --nextPart1407816.qzTTJ0eD9e Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline quoth the Phillip Hutchings: > > Spaces are 32 if I recall my ASCII. UTF-16 with no non-ASCII > characters is essentially an ASCII string with NULLs every other byte, > it's quite obvious. UTF-8 with only ASCII just looks like ASCII. Thanks Philip, I changed the 46 to 32 in Chris' code and it seems to be working fine for m= y=20 test files here. Will have to do more testing to see if it will be a suitab= le=20 permanent solution... Thanks again guys, =2Dd =2D-=20 darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." =2D Dennis Ritchie and Ken Thompson, June 1972 --nextPart1407816.qzTTJ0eD9e Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBEmw6hwPD5Cr/3CJgRAmX2AKC4Q1RCsBBWloZO4tQjT8wBlVJ9ZgCg8z0M WI7Jwpt8oisLUo+153JZyQU= =DP3h -----END PGP SIGNATURE----- --nextPart1407816.qzTTJ0eD9e--