shanet Posted December 27, 2010 Posted December 27, 2010 (edited) Hi forums,A few hours ago, I asked in SCITE editor, and the answer that worked (also the only one there), is to change the editors encoding to UTF8. That all worked like a charm, however now I want to compile the software, and want to know how I would keep my ASCII symbols? (See the other thread)Is there an option to compile under UTF8 encoding?Thanks,shanet Edited December 27, 2010 by shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm
Developers Jos Posted December 27, 2010 Developers Posted December 27, 2010 The UTF8 file should compile fine. Do you have a example that you are trying and which is failing? By the way, you talk about ASCII symbols but I guess you mean UNICODE characters or else you would not have to change to UTF8. 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.
Moderators Melba23 Posted December 27, 2010 Moderators Posted December 27, 2010 shanet, If I want various symbols in my script, I use this sort of coding trick which compiles without problem: ; Create buttons Global $hPlay_Button = GUICtrlCreateButton(";", 10, 45, 55, 45) GUICtrlSetFont(-1, 15, 400, 0, "Webdings") ; ";" = Pause, "4" = Play Global $hReplay_Button = GUICtrlCreateButton("7", 75, 45, 35, 20) GUICtrlSetFont(-1, 10, 400, 0, "Webdings") ; "7" = << Global $hNew_Button = GUICtrlCreateButton(":", 75, 70, 35, 20) GUICtrlSetFont(-1, 10, 400, 0, "Webdings") ; ":" = >>| Global $hDetails_Show_Button = GUICtrlCreateButton("5", 115, 45, 35, 20) GUICtrlSetFont(-1, 10, 400, 0, "Webdings") ; "5" = ^, "6" = v Global $hMenu_Show_Button = GUICtrlCreateButton("Menu", 115, 70, 35, 20) Global $hVol_Show_Button = GUICtrlCreateButton("X", 155, 70, 35, 20) GUICtrlSetFont(-1, 10, 400, 0, "Webdings") ; "X" = Spkr That way you get the corect glyph when you compile. You do have to remember which glyph is represented by which character - but there are easy ways to get around that if required. Does that help? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
shanet Posted December 27, 2010 Author Posted December 27, 2010 Hold up... I figured it out. In the end, it was not able to work in unicode, therefore changing the script :| Here is what I changed: #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ;#AutoIt3Wrapper_AU3Check_Parameters=-d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 Commented this line out then moved it out of the wrapper It decided to be picky about what was in the wrapper region so I moved the commented line out and it worked like a beauty! Thanks for your help, shanet [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm
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