#cs This script was designed by Nacer Baaziz from Algeria With this script you can print Unicode text in the CMD screen the script is easy to use just you write the text that contains Unicode in the first input and the script automatically reflect the code in the second input you can copy the text to the clipboard or you can try printing the text in the CMD window I apologize to everyone for colors and shape if not appropriate I'm a blind man and I do not see Thank you for your understanding You can contact me by e-mail below nacerStile@gmail.com #ce #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Res_Comment=unicode cmd text maker #AutoIt3Wrapper_Res_Description=CMD Unicode Text Maker #AutoIt3Wrapper_Res_Fileversion=1.0.0.0 #AutoIt3Wrapper_Res_LegalCopyright= ©2018, by nacer baaziz #AutoIt3Wrapper_Res_Language=1033 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include #include #include #include #include #include #include ### the window ### local $GUI = GUICreate("cmd Unicode text maker") GUICtrlCreateLabel("&original text", 0, 10, 100, 25) local $Input1 = GUICtrlCreateInput("", 110, 10, 200, 25) GUICtrlCreateLabel("&Unicode text", 0, 50, 100, 25) local $Input2 = GUICtrlCreateInput("", 110, 50, 200, 25) _GUICtrlEdit_SetReadOnly(-1, True) local $BT1 = GUICtrlCreateButton("&test", 0, 100, 50, 25) local $BT2 = GUICtrlCreateButton("©", 60, 100, 50, 25) local $BT3 = GUICtrlCreateButton("&Close", 120, 100, 50, 25) ### GUISetState(@sw_show, $GUI) ### the loop ### While 1 Switch GUIGetMSG() case $GUI_event_close, $BT3 exit Case $Input1 local $Run = Run(@ComSpec & " /c cls & @echo off & echo " & GUICtrlRead($input1), @SystemDir, @SW_HIDE, BitOR($STDERR_CHILD, $STDOUT_CHILD)) local $Text = "" While 1 $Text = StdoutRead($Run) If @error Then ExitLoop GUICtrlSetData($Input2, $Text) Wend case $BT1 if not (GUICtrlRead($Input2) = "") then local $temp = _TempFile(@tempDir & "\", default, ".cmd") fileWrite($temp, "cls" & @crlf & "@echo off" & @crlf & "title Unicode Test" & @crlf & "echo " & GUICtrlRead($Input2) & @crlf & "pause" & @crlf & "exit") run($temp) fileDelete($temp) endIf case $bt2 if not (GUICtrlRead($Input2) = "") then _ClipBoard_SetData(GUICtrlRead($input2)) if not @error then msgBox(64, "result", "the unicode text was added to the ClipBoard", "", $GUI) else msgBox(16, "result", "the unicode text can't be added to the ClipBoard", "", $GUI) endIf endIf EndSwitch Wend ###