[M3devel] how to represent a 16bit char?

Dragiša Durić dragisha at m3w.org
Sat Nov 30 11:52:22 CET 2013


And yes, Cairo uses UTF-8 natively, even on Windows.

On 30 Nov 2013, at 11:41, Dragiša Durić <dragisha at m3w.org> wrote:

> Are we really sure about this Xlib interfacing?
> 
> There are several very-low-level and very-portable libraries right now. Why don’t we use Cairo?
> --
> Dragiša Durić
> dragisha at m3w.org
> 
> 
> 
> On 30 Nov 2013, at 10:06, Jay K <jay.krell at cornell.edu> wrote:
> 
>> 1) Ok for purposes of interfacing with Win32 and Xlib, what should I use where WIDECHAR used to be correct?
>> 2) Are we really certain that redefining WIDECHAR is the way to go?
>> Not, say, introduce a new time, CHAR32 or UCHAR32?
>> And maybe add an explicit alias CHAR16 or UCHAR16 to provide a type that nobody will ever consider changing?
>>  
>> Or do people now advocate: 
>>  get rid of WIDECHAR 
>>  leave 8 bit CHAR 
>>  with a new understanding that it is UTF-8 encoded, and force lots conversion back and forth? 
>> ?? 
>>  
>> Thank you,
>>  - Jay
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131130/19a25480/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20131130/19a25480/attachment-0002.sig>


More information about the M3devel mailing list