Jump to content
Sign in to follow this  
jcma

Characters Unicode? (╚╛╜╝╟┴┬├┘└╦╣╤╦)

Recommended Posts

jcma

Hello,

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

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

Regards

Share this post


Link to post
Share on other sites
Aassdd

Chr(alt code)

Example for © (Alt + 0169):

Msg(0, "", Chr(0169))

Share this post


Link to post
Share on other sites
Jos

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.


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
jcma

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

Share this post


Link to post
Share on other sites
Jos

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 ?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
jcma

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

Share this post


Link to post
Share on other sites
Aassdd

I get the same with jcma and I'm using the latest versions.

Share this post


Link to post
Share on other sites
Jos

:) - same setup here, only running the US version of WindowsXP.

Are you running from SciTE? If so can you show the OutputPane information ?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Aassdd

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

Share this post


Link to post
Share on other sites
Jos

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


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
jcma

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,

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×