Re: Unicode support

"SHANKAR Uma" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
Another question Nick. I was up on the unixodbc website, and for the 2.0.9 release , it says the following was fixed:
- Add build time option to select wchar_t UNICODE (4 bytes) as opposed to signed short UNICODE (2 byte)

I believe we build unixODBC ourselves. Does this mean that I could actually build unixODBC on unix boxes for the different sizes of wchar_t on unix v/s windows? And this would require no code changes on my part? And I could use wchar_t's the way it is being used now?

Please clarify.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Gorham
Sent: Monday, August 17, 2009 4:03 PM
To: Development issues and topics for unixODBC
Subject: Re: [unixODBC-dev] Unicode support

SHANKAR Uma wrote:
> Thanks Nick for the quick response. I did not realize that about
> wchar_t's. Since I am not a regular unix developer, I have a couple of
> further questions.
>  Are there other constructs that I could use for wide-chars conversions
> that would be more portable between both windows and unix? I will try
> out iconv like you suggest as well.
>   
#include <sqlucode.h>

SQLWCHAR str[ 100 ];

-- 
Nick
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.