By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,114 Members | 1,574 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,114 IT Pros & Developers. It's quick & easy.

Anyone know the Unicode equivalent of Clipboard.SetText?

P: n/a
I need to copy some Unicode text to the Clipboard, but it ain't
happening. :/

If there's no equivalent in VB, what's the API call?
--
auric "underscore" "underscore" "at" hotmail "dot" com
*****
The truth depends on, or is only arrived at by, a legitimate deduction from all the facts which are truly material. Whispering tongues can poison truth.
-- Coleridge
Jul 17 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
On Tue, 06 Jan 2004 03:03:56 -0700, Auric__
<no*********@email.address> wrote:
I need to copy some Unicode text to the Clipboard, but it ain't
happening. :/

If there's no equivalent in VB, what's the API call?


The API is SetClipboardData

CF_UNICODETEXT only for NT 2K XP

See:

http://tinyurl.com/38ove
Jul 17 '05 #2

P: n/a
"...And the next sign of the Apocalypse will be..."
*****
On Tue, 6 Jan 2004 11:23:38 +0000 (UTC), J French wrote:
On Tue, 06 Jan 2004 03:03:56 -0700, Auric__
<no*********@email.address> wrote:
I need to copy some Unicode text to the Clipboard, but it ain't
happening. :/

If there's no equivalent in VB, what's the API call?


The API is SetClipboardData

CF_UNICODETEXT only for NT 2K XP

See:

http://tinyurl.com/38ove


I'm planning on distributing my app to users that might be running 98 or
Me (or even 95) - are they just unable to copy and paste Unicode? Am I
going to have to implement my own pseudo-clipboard? Hmm... what about
rich text?
--
auric "underscore" "underscore" "at" hotmail "dot" com
*****
Old is needing a fire permit for your birthday cake.
Jul 17 '05 #3

P: n/a
On Thu, 08 Jan 2004 12:51:37 -0700, Auric__
<no*********@email.address> wrote:

<snip>

I'm planning on distributing my app to users that might be running 98 or
Me (or even 95) - are they just unable to copy and paste Unicode? Am I
going to have to implement my own pseudo-clipboard? Hmm... what about
rich text?


Rich Text is not Unicode

- are you really sure that you want Unicode ?
Jul 17 '05 #4

P: n/a
"...And the next sign of the Apocalypse will be..."
*****
On Fri, 9 Jan 2004 11:30:51 +0000 (UTC), J French wrote:
On Thu, 08 Jan 2004 12:51:37 -0700, Auric__
<no*********@email.address> wrote:

I'm planning on distributing my app to users that might be running 98 or
Me (or even 95) - are they just unable to copy and paste Unicode? Am I
going to have to implement my own pseudo-clipboard? Hmm... what about
rich text?


Rich Text is not Unicode

- are you really sure that you want Unicode ?


Well, it's Japanese characters on non-Japanese-specific systems. I
suppose I could go with different encoding methods, such as JIS, but
Unicode is already supported by Windows.

I know that RTF <> Unicode, but I was thinking about the fact that
Unicode characters in RTF are stored as escaped ASCII text (like
\u35615?).
--
auric "underscore" "underscore" "at" hotmail "dot" com
*****
Why did the chicken cross the road?
SAEED AL SAHAF - Iraqi Head of Information - The chicken did not cross the road. This is a complete fabrication. We do not even have a chicken.
Jul 17 '05 #5

P: n/a
On Fri, 09 Jan 2004 09:18:57 -0700, Auric__
<no*********@email.address> wrote:
"...And the next sign of the Apocalypse will be..."
*****
On Fri, 9 Jan 2004 11:30:51 +0000 (UTC), J French wrote:
On Thu, 08 Jan 2004 12:51:37 -0700, Auric__
<no*********@email.address> wrote:

I'm planning on distributing my app to users that might be running 98 or
Me (or even 95) - are they just unable to copy and paste Unicode? Am I
going to have to implement my own pseudo-clipboard? Hmm... what about
rich text?


Rich Text is not Unicode

- are you really sure that you want Unicode ?


Well, it's Japanese characters on non-Japanese-specific systems. I
suppose I could go with different encoding methods, such as JIS, but
Unicode is already supported by Windows.

I know that RTF <> Unicode, but I was thinking about the fact that
Unicode characters in RTF are stored as escaped ASCII text (like
\u35615?).


Ah, I see what you are up to

- you might have a point about using RTF

One thing about Unicode
- it is not really supported by Windows itself in 95, 98 and ME
- it is supported by Applications but that is not really the same
thing
- I wonder what happens when you use normal cut and paste with a
Unicode Japanese font ...
Jul 17 '05 #6

P: n/a
"...And the next sign of the Apocalypse will be..."
*****
On Fri, 9 Jan 2004 19:50:15 +0000 (UTC), J French wrote:
On Fri, 09 Jan 2004 09:18:57 -0700, Auric__
<no*********@email.address> wrote:

Well, it's Japanese characters on non-Japanese-specific systems. I
suppose I could go with different encoding methods, such as JIS, but
Unicode is already supported by Windows.

I know that RTF <> Unicode, but I was thinking about the fact that
Unicode characters in RTF are stored as escaped ASCII text (like
\u35615?).


Ah, I see what you are up to

- you might have a point about using RTF

One thing about Unicode
- it is not really supported by Windows itself in 95, 98 and ME
- it is supported by Applications but that is not really the same
thing
- I wonder what happens when you use normal cut and paste with a
Unicode Japanese font ...


Right now I'm using SendKeys for copying and pasting, and that works...
eh... well enough, I guess. In Win2k, anyway.
--
auric "underscore" "underscore" "at" hotmail "dot" com
*****
The world is changing: I feel it in the water, I feel it in the earth,
and I smell it in the air.
Jul 17 '05 #7

P: n/a
On Sat, 10 Jan 2004 03:17:27 -0700, Auric__
<no*********@email.address> wrote:

<snip>
- I wonder what happens when you use normal cut and paste with a
Unicode Japanese font ...


Right now I'm using SendKeys for copying and pasting, and that works...
eh... well enough, I guess. In Win2k, anyway.


Hmm....

Sounds interesting - you'll need to test it on 95/98
2k is from the NT stable ...

If you have a very simple Testbed and a Jap Font I could test it on 95
- and perhaps 98
Jul 17 '05 #8

P: n/a
"...And the next sign of the Apocalypse will be..."
*****
On Sat, 10 Jan 2004 11:19:02 +0000 (UTC), J French wrote:
On Sat, 10 Jan 2004 03:17:27 -0700, Auric__
<no*********@email.address> wrote:

<snip>
- I wonder what happens when you use normal cut and paste with a
Unicode Japanese font ...


Right now I'm using SendKeys for copying and pasting, and that works...
eh... well enough, I guess. In Win2k, anyway.


Hmm....

Sounds interesting - you'll need to test it on 95/98
2k is from the NT stable ...

If you have a very simple Testbed and a Jap Font I could test it on 95
- and perhaps 98


Nah, that's okay. I dual-boot to WinME for my games that don't like 2k,
so there's my non-NT test system right there. (And somewhere around here
there's a machine with a working install of 98SE...) Thanks for the
offer, though. Once I get results, one way or the other, I'll let you
know.
--
auric "underscore" "underscore" "at" hotmail "dot" com
*****
Never trust a person who says, "Trust Me"
Jul 17 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.