OZONE Asylum
Forums
DHTML/Javascript
Reading special characters with FileSystemObject
This page's ID:
27909
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
no problem about the confusion between JScript and JavaScript ;) Regarding your assumption about unicode encoding, if the file is indeed treated as a unicode string, the size of the string should half of that of the original file. If you could get consistent results for several files of various size, then you could run a small loop to convert the string into an array, i.e:[code]var UInt8Array = [] while( unicodeVersion.length ) { var charCode = unicodeString.charCodeAt(0); UInt8Array.push( charCode&255, charCode>>8 ); unicodeString = unicodeString.substr( 1 ); }[/code]Hope that helps :p [url=http://www.p01.org/][sigrotate][img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_love_small.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_charly.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_dk.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_reason.gif[/img]|[img]http://poi.ribbon.free.fr/files/p01_ozoneasylum_sig_galaxy.gif[/img][/sigrotate][/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »