Skip to Content.
Sympa Menu

freetds - Re: Ode to UTF-8

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Ode to UTF-8
  • Date: 02 Sep 2002 21:04:25 +0200


Il lun, 2002-09-02 alle 14:18, Mark J. Lilback ha scritto:
> At 2:10 PM -0400 9/1/2002, James K.Lowden wrote:
> >No current developer afaik has tools to exercise the UTF-8 work.
>
> Mac OS X uses unicode natively for strings, so any native (as opposed
> to command line port) application should be testing it. My
> application does, and I've got a few basic tests setup to check for
> Unicode support (which currently fail with freeTDS).
>

If you want to provide some test you made I think your material could be
very useful in future releases

> I was making the same assumption that utf8 would be easier than ucs2.
> However, another reason for utf8 might be to avoid worrying about
> ucs4 down the line.
>

Mac OS X use ucs4 ?? What waste of space...

> Another thing for me is that I'd prefer to avoid any conversion in
> freeTDS, or at least have it at the client level. Right now, it comes
> on the wire as unicode, iconv converts it to latin1, and then my
> application converts it back to unicode.
>
> If conversion were at the client level, I could get the unicode via
> dbdata(). As it is, that doesn't work since the iconv support is at
> the tds layer. Utf8 or ucs2 support would be better, of course.
>

Disagree. Too work for even a simple program that want just to use
ascii...
No conversion at all mean that client must expect data in
single/multiple bytes with dozen of character sets...

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page