I have recently learned that sql server 2005 does not support UTF8:
I believe it supports UCS-2 though and look for a way to transform UTF8 to UCS-2 without loss of information if possible. Is it?
Any feedback would be very much welcome. Thanks!
Christian
PS: C# preferred (-:
It looks like you have a text file encoded in UTF-8 and you want to re-encode it to UCS-2.
StreamReaderandStreamWritersupport encoding automatically; you supply anEncodingobject in their constructors.You should be able to:
StreamReaderwithEncoding.UTF8StreamWriterwithEncoding.Unicode