|
|
Choosing A Webhost: |
Re: iconv message suppression: msg#00279db.tds.freetds
Il dom, 2003-11-30 alle 12:03, Alex Kiesel ha scritto: > On Sun, 2003-11-23 at 10:18, Frediano Ziglio wrote: > > > >I committed the ct-lib univarchar patch separately. On faith. No way for > > >me to test. > > > > > > > The same. I don't like some thing in implementation > > - Sybase do not have CS_UNIVARCHAR_TYPE constant but only CS_UNICHAR_TYPE > > - SYBUNIVARCHAR it's not a server type > > - there are no conversion from UTF16 to client > > Hi all, > > the attached patch improves the uni(var)char support: > . a new TDS_USER_TYPE enum has been added (it contains the usertypes > USER_UNICHAR_TYPE and USER_UNIVARCHAR_TYPE) > . removed the constant SYBUNIVARCHAR > . the columns data now gets properly decoded from UTF-16 to the client > charset (successfully tested with iso-8859-1 and UTF-8). > > I'd be happy if someone could look into it. > > Thanks, > Alex Applied (with small changes). However I have a question. SYBLONGBINARY expect 4 len bytes... Does you declare a length with univarchar (like "DECLARE @s UNIVARCHAR(200)" ) or univarchar is like a TEXT (you can put up to 2G characters) ?? It's not so good to use ucs2 for utf16 but it can work... freddy77
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: iconv message suppression, Alex Kiesel |
|---|---|
| Next by Date: | Re: iconv message suppression, Alex Kiesel |
| Previous by Thread: | Re: iconv message suppression, Alex Kiesel |
| Next by Thread: | Re: iconv message suppression, Alex Kiesel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |