Re: UTF8 without tempfiles

Hi Moshe,

wchar_t is usually UTF16.  What platform are you on?  It helps to figure 
out if you should use Little or Big Endian unicode (UTF16LE and UTF16BE, 
respectively).  If you can manage to save your documents with a byte-order 
mark (two bytes at the beginning of the file that indicate the byte order), 
you can specify plain UTF16.

For example, Intel (Windows and Linux) are LE.  Sparc (Solaris) and PowerPC 
(Mac, IBM AIX) are BE.  Alpha (Linux) can be either, but is usually LE.

take it easy,
Charlie

At 01:22 PM 11/10/2002 -0800, Moshe Plotkin wrote:
>B"H
>
>Can someone please send me a very simple example of using TidyLib with 
>UTF8 strings.
>
>I have the data in a wchar_t* and would like to return a wchar_t*
>
>thank you verry much

Received on Monday, 11 November 2002 09:26:18 UTC