[thelist] UNICODE email and new lines

Aredridel aredridel at nbtsc.org
Tue Jul 22 21:36:04 CDT 2003


On Tue, 2003-07-22 at 13:24, Sam Carter wrote:
> I've implemented UNICODE email which carries Japanese, German and
> English text.
>  
> Trouble is, the newline - char(10) + char(13) seems to always work in
> Japanese, but surprisingly, not in German or English.
>  
> Is there a UNICODE newline character?

In unicode, as in ASCII: 10 and 13, decimal.  However, using UCS-2 or
UTF-16, characters are double-byte: 00+10 and 00+13.  This won't go over
SMTP, though, so use UTF-8: 10 and 13, no doubling.

Ari





More information about the thelist mailing list