[Mono-dev] [PATCH] ucs4 and utf16 conversion functions for eglib

Bill Holmes billholmes54 at gmail.com
Tue Apr 8 16:15:36 EDT 2008

Hello All,

I have added the implementations for g_ucs4_to_utf16 and
g_utf16_to_ucs4 along with unit tests.  Please review.

I did have some questions.  First I added the code to the utf8.c file
which I am thinking that may not be right.  Let me know if there is a
better place to put them or if a new file is needed.

Also the I used sample code from unicode.org
(http://unicode.org/Public/PROGRAMS/CVTUTF/ConvertUTF.c ) as my
starting point but I may have changed it enough to no longer be
recognizable. The sample file states that the notice be used when
copying the code.  Should I add the notice to the eglib code?  (And

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ucs4_utf16.diff
Type: text/x-patch
Size: 15150 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080408/058fa680/attachment-0001.bin 

More information about the Mono-devel-list mailing list