Jango Posted April 14, 2009 Posted April 14, 2009 Hello, I made some search in the forum and i have not found the answer. I'm compiling my script with CUI option and i use ConsoleWrite to show error messages but the accentuated characters are not displayed correctly: ConsoleWrite(@CRLF & "Ajoute le groupe " & $adgroup & " à " & $localgroup & @CRLF) Here is the output: Ajoute le groupe MYDOM/Domain Users Ó MYPC/Utilisateurs avec pouvoir So the "à" shows "Ó" Can some one help me ?
Mat Posted April 14, 2009 Posted April 14, 2009 does it only do it after compilation? or does it do it before too... AutoIt Project Listing
Jango Posted April 14, 2009 Author Posted April 14, 2009 does it only do it after compilation? or does it do it before too... If i run it from Scite (menu: View -> Output [Checked]), the chars are corrects. When compiled and ran in a dos box the output is not correct
Mobius Posted April 14, 2009 Posted April 14, 2009 Bonjour Jango, The character set between windows applications and the command shell are very different indeed. I hope someone chimes in with a fool proof udf for you because my suggestion is just a quick fix. ConsoleWrite(@CRLF & "Ajoute le groupe " & $adgroup &" "& Chr(133) &" "& $localgroup & @CRLF)oÝ÷ Ù§¶¬+mêbyǨ}Êz)Ú B¦bq«b¢{hëZ® '^jíæ¬r(¯j[±©Ý¶¢¬*'²^êkzǧµ«b¢w(uà¨Ê%yjâµî4ß~¡¯=ãV¦§~z¹¢©wá©©,^5ätߨ Here is the output: Ajoute le groupe MYDOM/Domain Users Ó MYPC/Utilisateurs avec pouvoir So the "à" shows "Ó" Can some one help me ?
rover Posted April 14, 2009 Posted April 14, 2009 Hello, I made some search in the forum and i have not found the answer. I'm compiling my script with CUI option and i use ConsoleWrite to show error messages but the accentuated characters are not displayed correctly: ConsoleWrite(@CRLF & "Ajoute le groupe " & $adgroup & " à " & $localgroup & @CRLF)oÝ÷ Øw«z+-ê.¶r^:.µé^º.¥ãã?u,z»`ð¿RØ¥Æzêìj÷¦¯¢*ÿr^Jaz«¨¶«¨¶ÈhÂÊ®¢Ú®¢ÐÊ&zÞéiïêº^%©à¡K «Nȱæ«rè®é¢°¡j´è9é®® I see fascists...
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