Home Register Search FAQ Memberlist Usergroups Log in  
Reply to topic Difficulty moving GB characters to Application
Difficulty moving GB characters to Application
Gaius Laubli


Joined: 13 Jun 2009
Posts: 2
Reply with quote
I am not able to get the Simplified (GB) characters entered in NJStar Communicator to my application. I had thought all that would be necessary is for my application to support a Paste function, and that I could invoke the Paste to pull the characters NJStar Communicator puts in the clipboard. Is this how it should work? Or what am I doing wrong, please? Thank you.
View user's profileFind all posts by Gaius LaubliSend private message
NJ Support


Joined: 27 Apr 2006
Posts: 174
Reply with quote
You do not pull from clipboard, you simply wait for windows message.

In NJStar Communicator v2.73 or above:

1. NJStar will first check if the target windows can accept Unicode directly.
If Yes, NJStar will send the Cginese char via WM_UNICHAR message. It no goto 2.

If you are geting question marks (?) or under_scores, then your application has converted Unicode to DBCS incorrectly (by using English codepage).

[This is new in v2.7 and there is an option in IME Options to disable it by using Clipboard only].

2. NJStar put BOTH Unicode and DBCS on clipboard and send a CTRL+V to target window. When you received WM_PASTE message , you should get the CF_TEXT from clicpboard, or convert the CF_UNICODETEXT to any DBCS code you like.
View user's profileFind all posts by NJ SupportSend private message
Difficulty moving GB characters to Application
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic  
Powered by phpBB | Style by phpBBStyles.com | Content © NJStar Software