Jump to content

Recommended Posts

Posted

Hello,

How can I get these characters and write them into a text file? ╚╛╜╝╟┴┬├┘└╦╣╤╦

Whenever I get this character ++++¦--+++-¦--

Regards

  • Developers
Posted

Hello,

How can I get these characters and write them into a text file? ╚╛╜╝╟┴┬├┘└╦╣╤╦

Whenever I get this character ++++¦--+++-¦--

Regards

What exactly are you trying to do ?

It all depends on what fontset you are using for these characters to show since they are not in the standard ascii table AFAIK.

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.
  :)

Posted

What exactly are you trying to do ?

It all depends on what fontset you are using for these characters to show since they are not in the standard ascii table AFAIK.

Hello again,

What I want is to format text in a variable adding edges to be used in other processes.

I tried this, but what I view is not the character I want:

MsgBox(0, "", ChrW(9500))

post-16331-1207490616_thumb.jpg

  • Developers
Posted

I tried this, but what I view is not the character I want:

MsgBox(0, "", ChrW(9500))

This line works fine for me.

What is the environment you work in ?

What version of AutoIt3 are you using ?

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.
  :)

Posted

This line works fine for me.

What is the environment you work in ?

What version of AutoIt3 are you using ?

I use WXP SP2 (Spanish) and Autoit 3.2.10.0, I also tested with the latest Beta version available with the same results...

Posted

Jos, I got US too, did you change your windows default font?

>"D:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /prod /ErrorStdOut /in "D:\Documents and Settings\Administrator\Desktop\New AutoIt v3 Script.au3" /autoit3dir "D:\Program Files\AutoIt3" /UserParams   
+>17:27:29 Starting AutoIt3Wrapper v.1.10.1.7   Environment(Language:0409  Keyboard:00000409  OS:WIN_XP/Service Pack 2  CPU:X86)
>Running AU3Check (1.54.10.0)  from:D:\Program Files\AutoIt3
+>17:27:29 AU3Check ended.rc:0
>Running:(3.2.10.0):D:\Program Files\AutoIt3\autoit3.exe "D:\Documents and Settings\Administrator\Desktop\New AutoIt v3 Script.au3" 
+>17:27:33 AutoIT3.exe ended.rc:0
>Exit code: 0   Time: 5.139
  • Developers
Posted

Jos, I got US too, did you change your windows default font?

Try this to create the file. This shows the correct character for me in NotePad and SciTE.

$fh = FileOpen("Test.txt",2+128)

FileWrite($fh,ChrW(9500) & @CRLF)

FileClose($fh)

ShellExecute("test.txt")

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.
  :)

Posted

Try this to create the file. This shows the correct character for me in NotePad and SciTE.

Jos

Thanks Jos! Opening the file with 2 + 128, it works smoothly.

Thank you all for your interest shown.

Regards,

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...