>>> I believe that C# uses Unicode by default for string characters. Does
>>> that mean that double-byte langauges such as Chinese can be used without
[quoted text clipped - 5 lines]
>> is all done in Unicode (how depends on the database).
> We will be using SQL Server 2005.
> I believe that C# uses Unicode by default for string characters. Does that
> mean that double-byte langauges such as Chinese can be used without doing
> anything special... including DB persistance? I.e., are all characters
> automatically double-byte?
Just to make sure there is no confusion about the double bytes:
If you mean double byte as in codepage 950: you will have to make sure
you work in C# with Unicode and not with 950. If you have for example
files in 950 which you need to convert, you will have to convert your
files before you use them in C#. You can do this easily by using the
StreamReader class with the constructor that specifies the encoding of
your files.
Unicode is double byte, but it doesn't mean that there is no need for
a conversion when using an older double byte system
> Just make sure appropriate fonts are installed on your computer so you can see them.
If you work with Unicode, a standard Unicode font will do. The correct
fonts problem is actually a pre-Unicode problem.
You needed for example a CE font to display, for example, Hungarian
because the 1250 (Central Europe) en 1252 (Western Europe)
code pages have different code points: with a regular font, the 1250
code points would be mapped wrongly onto 1252 glyphs contained in the
regular font
Bill Fuller - 24 Sep 2007 16:30 GMT
This will be a new application so will not involve any conversion. Sounds
like we will be OK.
>> I believe that C# uses Unicode by default for string characters. Does
>> that
[quoted text clipped - 23 lines]
> code points would be mapped wrongly onto 1252 glyphs contained in the
> regular font