|
-
Jun 3rd, 2005, 10:33 AM
#1
Thread Starter
Lively Member
encoding problem
i'm converting a string ,letter by letter into ascii codes, adding 3 to each ascii code and converting them back into string.
so "hello" would become "khoor"
Im saving this to a textfile.
The problem is that when im reading it back from the textfile and converting it back to the original string the code puts two little squares after it.
Dim fso As New FileSystemObject
Dim s, stext As String
Dim objTextStream
ArticleText.Text = ""
s = Data.Files(1)
Set objTextStream = fso.OpenTextFile(s, 1)
stext = objTextStream.ReadAll
so my stext has two squares at the end :0(
does anyone know why?
thanks
kati
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|