From:
<car...@te...> - 2003-11-14 11:17:25
|
Hello: > Trying to find some backing information on the WWW, now I feel > only quarter-informed. But you invited me to comment... > :) >(a) AND (b) => (c) The whole character set issue is void for .NET, >the connection should always be Unicode, the programmer should >always only see the UTF-16 encoded data and all necessary translation >is done by data provider (there may be a backdoor needed for getting the >actual byte sequence from the server, for very special cases). > I'm using GetString and GetBytes methods of the .NET encoding classes for encode/decode data of character set fields. >It follows, that a column charset declaration only affects the possible >character repertoire for this column and sorting behaviour, but is otherwise >unnoticed by the C# program. > Dou you mean that in sample C# program there are no explicit character set definition for the query parameters ?? >It would be most helpful to compare the behaviour of other DBMS's >data provider implementations, notable PostgreSQL. > It's good idea .... (Huuummmmm I have not great knowledge of PostgreSQL but as i know it doesn't allow character sets per field). -- Best regards Carlos Guzmán Álvarez Vigo-Spain |