This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Help for those learning Tcl or writing their own scripts.
-
sKy
- Op
- Posts: 194
- Joined: Thu Apr 14, 2005 5:58 pm
- Location: Germany
Post
by sKy »
Hi there,
i`ve got a little problem with file mangement.
Code: Select all
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?
-
Alchera
- Revered One
- Posts: 3344
- Joined: Mon Aug 11, 2003 12:42 pm
- Location: Ballarat Victoria, Australia
-
Contact:
Post
by Alchera »
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
-
deadite66
- Halfop
- Posts: 74
- Joined: Mon May 30, 2005 2:49 am
- Location: Great Yarmouth, UK
Post
by deadite66 »
i had a similar problem when making a topic restorer script.
fconfigure ~filename~ -encoding binary
worked for me.