Skip to Content.
Sympa Menu

freetds - Re: Unicode - UCS2, UTF8 present and future...

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark J. Lilback" <mark AT lilback.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Cc: "Lowden, James K" <LowdenJK AT bernstein.com>
  • Subject: Re: Unicode - UCS2, UTF8 present and future...
  • Date: Mon, 19 Aug 2002 13:57:54 -0400


At 11:36 AM -0400 8/19/2002, Lowden, James K wrote:
>
What about some kind of setting in freetds.conf that enables proper
UTF8 support? Or at the least, a compile flag to enable proper UTF8
handling.

Mark,

Won't

client charset = UTF-8

in freetds.conf do what you want?
Or am I missing what you mean by "proper"? :)

What freddy mentioned -- that UTF8 can be longer than the actual number of characters, since some can be converted into 2-3 bytes. Brian mentioned that there was possibly a problem with some calling programs expecting a certain buffer size, so if that is an issue, I'd rather add a flag that lets programs without that problem get UTF8 without the string being cropped because the buffer isn't long enough.

--
__________________________________________________________________________
"They that can give up essential liberty
Mark J. Lilback to obtain a little temporary safety
<mark AT lilback.com> deserve neither liberty or safety."
http://www.lilback.com/ -- Benjamin Franklin




Archive powered by MHonArc 2.6.24.

Top of Page