[Y-devel] [PATCH] i18n - wchar_t properties
David McBride dwm at www.y-windows.org
Mon Feb 23 21:48:24 GMT 2004
On Mon, 2004-02-23 at 21:41, Alexey Boyko wrote:
> > Patch is against 0.2-release.
> > First attempt to convert all properties values to wchar_t. It would be
> > good for internalization. Most widgets are accordingly fixed.
>
> You outrun me. ;) I wrote nearly the same. but that is my function to convert
> utf8->ucs4:
[snip]
Does iconv not already perform this function? (man 3 iconv)
> > This patch
> > should not affect client libraries and applications, since all
> > communication is still utf8 (and should be so).
>
> I think, client libraries also must accept strings as wchar_t, convert them
> into UTF-8 and pass to server
If so, then what's the point of using UTF-8 at all -- if the clients are
using it, and the server is using it, it's just an unnecessary
conversion.
Would it not make sense to use UTF-8 for everything, converting to UCS-4
interally within any given component if there's a performance benefit?
Cheers,
David
--
David McBride <dwm at www.y-windows.org>
I wonder if my boss realises that his star teleworker is a 15-year old
working on the vague promise of extra pocket money.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040223/535a6407/attachment.bin
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved