Skip to Content.
Sympa Menu

freetds - Re: Unicode, UTF-8, and Greek

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Steve Langasek <vorlon AT netexpress.net>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Unicode, UTF-8, and Greek
  • Date: Wed, 10 Oct 2001 13:41:16 -0500

On Wed, Oct 10, 2001 at 12:31:00PM -0400, Bob Kline wrote:
> On Wed, 10 Oct 2001, Steve Langasek wrote:

>> UCS2 is broken, because it truncates Unicode at the 16-bit mark, and
>> nobody but Microsoft uses it.

> It's difficult for me to come to any other conclusion, based on my
> reading of Sun's specification[1] of the language, than that Java also
> truncates Unicode characters at the 16-bit mark. I'd be delighted to be
> shown that my reading of the spec is wrong, though.

> I'm also having a hard time picturing Microsoft as the only user of
> Java. :->}

> [1] http://java.sun.com/docs/books/jls/second_edition/html

Ack... Chalk that error up to my lack of familiarity with the Java spec.
:/

Well, I maintain that UCS2 is broken, even if it's also used in Java.
And of course, the client libraries for Java are different than for
C/C++/PHP/Perl/Python, so what Java does also doesn't have much bearing
on the behavior of the C libraries, does it?

Steve Langasek
postmodern programmer

Attachment: pgpTLnOSa2T5m.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page