>Im using .Net 1.1 with Vs2003
>Im trying to convert memorystream that im getting from
>the clipboard into a unicode string ex.
You should use the Encoding class that actually matches how the
characters are encoded in the clipboard stream. If ASCII works and
Unicode doesn't then clearly they are not stored as UTF-16.
The conversion to unicode happens in the GetChars call regardless
which encoding class you're using, since all strings and chars in .NET
ae stored as Unicode.
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com
Please reply only to the newsgroup.