Subject | Re: UTF-8 vs UTF-16 |
---|---|
Author | peter_jacobi.rm |
Post date | 2003-08-22T07:02:52Z |
Hi Mailmur,
a) giving neither BE nor LE will result in output of
platform's native byte order
b) giving neither BE nor LE may give any of byte order,
but with mandatory BOM.
It seems it's best to always specify BE or LE.
Regards,
Peter
> * Java encoding "UTF-16" produces UTF-16BEThanks for the stats. I always switched between two beliefs:
> * Java encoding "Unicode" produces UTF-16LE
> * Win2k Notepads "Unicode" save produces UTF-16LE. It has an
> additional "Unicode big endian" saveAs format for UTF-16BE
a) giving neither BE nor LE will result in output of
platform's native byte order
b) giving neither BE nor LE may give any of byte order,
but with mandatory BOM.
It seems it's best to always specify BE or LE.
Regards,
Peter