| View previous topic :: View next topic |
| Author |
Message |
sKy Op

Joined: 14 Apr 2005 Posts: 194 Location: Germany
|
Posted: Sat Nov 12, 2005 9:42 am Post subject: problems with chars such as ¬, • |
|
|
Hi there,
i`ve got a little problem with file mangement.
| Code: | set file [open testfile.txt a] ; puts $file "¬ •" ; close $file
set file [open testfile.txt r] ; set data [read $file] ; close $file ; return $data |
for some unknown reason this will return "? ?" and not "¬ •" like I wanted...
So how could I solve this? |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Nov 12, 2005 11:32 am Post subject: |
|
|
The following link may, or may not, be of some help.
Draac.Com's Special Letters _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
deadite66 Halfop
Joined: 30 May 2005 Posts: 74 Location: Great Yarmouth, UK
|
Posted: Sat Nov 12, 2005 2:06 pm Post subject: |
|
|
i had a similar problem when making a topic restorer script.
fconfigure ~filename~ -encoding binary
worked for me. |
|
| Back to top |
|
 |
|