Sign in to follow this  
Followers 0
magicboy11

Unicode Characters?

6 posts in this topic




You aren't saving your file in unicode format.

Share this post


Link to post
Share on other sites

Internally au uses unicode. For file operations add 128 to the mode parameter

FileOpen ( "filename", mode )

"128 = Use Unicode UTF8 reading and writing mode. Reading does not override existing BOM"

Share this post


Link to post
Share on other sites

The problem is that the user is probably putting unicode characters in the au3 file and not saving the file in unicode format. By default, many editors save to ASCII.

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

can you please clarify, i want to use these UNICODE characters....are you saying I have to insert something in script to allow it to accept UNICODE?

Help please ^.^

how would I go about editing files in UNICODE format?

Edited by magicboy11

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Your Editor has to support editing/saving unicode characters. In Scite switch to "File => Encoding => UTF-8". In Wordpad "Save As Type = Unicode Text Document".

Edited by KaFu

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  
Followers 0