Re: [xml-dev] Genx

From
Tim Bray <>
To
Rich Salz <>
Date
2004-01-21T21:48:59Z
ID
<>
Thread
Re: [xml-dev] Genx
On Jan 21, 2004, at 1:35 PM, Rich Salz wrote:

> Why not just do everything in UTF-8.  All this wchar_t, "asdfasdf"L 
> support, etc., is going to complicate the API.  Seems simpler to have 
> the basic API, and for those not working in UTF-8 (or its subset:), 
> they only have to remember a single consistent rule:  call "convert()" 
> first.

Now that's an attractive idea.  I'd still probably retain the

genxCharacter(genxWriter * w, int character)

because I've seen all sorts of situations where you know what the U+ 
value is and just want to stuff that character into the stream.  -Tim