Re: Converting a 16-bit string to 8-bit?

2011-03-04 Thread Adelle Hartley
On 4/03/2011 22:01, Ben Noordhuis wrote: Adelle, your code doesn't appear to be handling errors. A number of things can go wrong here: 1. The conversion may not be supported. 2. Partial character sequences (not an issue here since the input is UTF-32 but I mention it for posterity's sake), repo

Re: Converting a 16-bit string to 8-bit?

2011-03-04 Thread Ben Noordhuis
On Fri, Mar 4, 2011 at 02:24, Adelle Hartley wrote: > This is a helper class I wrote for the module I'm working on.  It assumes > the native wide encoding is UTF-32.  To make it cross platform, you'd have > to check what the correct wide encoding is. > > This is my first apache module, so any corr