Skip to Content.
Sympa Menu

freetds - Re: [freetds] iconv message suppression

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] iconv message suppression
  • Date: Sun, 30 Nov 2003 12:03:01 -0500

On Sun, 30 Nov 2003, Alex Kiesel <kiesel AT schlund.de> wrote:
> > It's not so good to use ucs2 for utf16 but it can work...
>
> Is there any other way to convert the data?

I think Frediano is referring to the fact that UCS-2 and UTF-16 overlap
but differ.

http://www.cl.cam.ac.uk/~mgk25/unicode.html#ucsutf

If unichar data are actually encoded in UTF-16, they may theoretically
include characters off the Basic Multilingual Plane. Such characters are
encoded in UTF-16 as two 16-bit "surrogate" characters, which obviously
shouldn't be interpreted as two UCS-2 characters.

The question is, can the server actually deliver/accept non-BMP
characters? If not, we can pretend we're dealing with UCS-2 data. Else
we have to do it right, to do it right. ;-)

Regards,

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page