TheDcoder Posted April 6, 2015 Share Posted April 6, 2015 Hello, I want to display this: 使用在线翻译,嗯? in a MsgBox But when I paste it in SciTE it pastes ?????????? How can I display 使用在线翻译,嗯?in a MsgBox? Thanks in Advance, TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
BrewManNH Posted April 6, 2015 Share Posted April 6, 2015 You have to have the file encoding in SciTE set for UTF8 so it will show correctly. JohnOne and Gianni 2 If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Solution TheDcoder Posted April 6, 2015 Author Solution Share Posted April 6, 2015 Go to File (Menu Item in SciTE) --> Encoding --> UTF - 8 with BOM BOM is required b/c AutoIt Wrapper does not support plain UTF-8 TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
BrewManNH Posted April 6, 2015 Share Posted April 6, 2015 Isn't that what I said above? If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Developers Jos Posted April 6, 2015 Developers Share Posted April 6, 2015 (edited) Go to File (Menu Item in SciTE) --> Encoding --> UTF - 8 with BOM .. or use the latest Beta version which defaults to UTF8 encoding withour BOM. BOM is required b/c AutoIt Wrapper does not support plain UTF-8 Where did you get that knowledge from? Jos Edited April 6, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
JohnOne Posted April 6, 2015 Share Posted April 6, 2015 Isn't that what I said above? Yes. But without the false BOM information. 13lack13lade 1 AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
TheDcoder Posted April 7, 2015 Author Share Posted April 7, 2015 But without the false BOM information. Try running it Where did you get that knowledge from? The script didn't execute when I tried UTF-8 Here is something similar which I got in the console when I tired UTF-8 ########################################### # AutoIt Wrapper does not support UTF-8 without BOM # ########################################### Not sure about the message but the # were present TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Developers Jos Posted April 7, 2015 Developers Share Posted April 7, 2015 (edited) Here is something similar which I got in the console when I tired UTF-8 Not sure about the message but the # were present This works fine for me. What version are you running? (Show the first couple of lines of the SciTE output pane) Jos Edited April 7, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
TheDcoder Posted April 7, 2015 Author Share Posted April 7, 2015 @Jos Strange, I didn't get the error this time , I am sure that I got that error before with UTF - 8 TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Developers Jos Posted April 7, 2015 Developers Share Posted April 7, 2015 (edited) @Jos Strange, I didn't get the error this time , I am sure that I got that error before with UTF - 8 TD Support is only added august 2014 in the current Beta: 14.801.2025.2 Added support for UTF8 without BOM scripts. Jos Edited April 7, 2015 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
TheDcoder Posted April 7, 2015 Author Share Posted April 7, 2015 @Jos Looks like I accidentally upgraded to the beta version TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now