Jump to content
Sign in to follow this  
Yogi Yang

Sending UNICODE characters to MS Word problem

Recommended Posts

Yogi Yang

I am trying to send the following string to MS Word 2003 :

"{ENTER}--- {ASC 2693} --- {ASC 0xA95} --- {ENTER}"

It is showing square blocks instead of Unicode characters.

If I add these characters using Insert->Symbol in MS Word these characters are showing perfectly without any problems.

What must be the problem?

Thanks,

Yogi Yang

Edited by Yogi Yang

Share this post


Link to post
Share on other sites
Yogi Yang

Can someone please help me on this.

Share this post


Link to post
Share on other sites
herewasplato

You did not state what AutoIt function you were using to "send" the unicode...

Look here for some limitations...

http://www.autoitscript.com/forum/index.ph...st&p=474037

If you knew that and are already using something other than "Send", post some code that shows the problem.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
Yogi Yang

You did not state what AutoIt function you were using to "send" the unicode...

Look here for some limitations...

http://www.autoitscript.com/forum/index.ph...st&p=474037

If you knew that and are already using something other than "Send", post some code that shows the problem.

Thanks for the link.

I am basically trying to use AutoITX.dll from VB to send a few UNICODE characters to MS Word. I have tried with Send as well as ControlSend but both are not working. As per documentation if we want to send UNICODE characters to a Unicode enabled application we should use ASC function:

To send UNICODE characters enter the character code (decimal or hex), for example this sends a Chinese character

Send("{ASC 2709}") or Send("{ASC 0xA95}")

Lastly how can I put UNICODE characters on clipboard?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.