Hi Frankie, maybe I'm missing some basic concept on the clipboard, but
assuming your operation of reading its content with DataFormats.OemText is
correct, I think you should already have the string you want stored in
"str" after the following instruction
>>str = CType(DataO.GetData(DataFormats.OemText, False), String)
and that is just based on the fact that the .Net Framework internally
already works with Unicode strings
Please let me know if that is not the case
Aldo
-- This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
| From: " Franky" <frankieNOSPAM@a-znet.com>
| Subject: Question about Encoding
[quoted text clipped - 30 lines]
|
| Thanks for any enlightment
Franky - 29 Dec 2006 03:20 GMT
I show the string in a messagebox and the characters are wrong. I don't have
the example here but a the character that looks like a full block in the
Command window shows as a Greek letter in the messagebox. Similar thing
happed to other graphic characters.
Could the clipboard simply take the bytes from the command window and make
then 16-bit without any other conversion?
I do have a way that works but, I'd like to remove a misunderstanding that I
must have because I don't know why the below code does not work!
Thanks for the reply
> Hi Frankie, maybe I'm missing some basic concept on the clipboard, but
> assuming your operation of reading its content with DataFormats.OemText is
[quoted text clipped - 48 lines]
> |
> | Thanks for any enlightment