Creating Mac-codepage file using FSO

T

Tomas Eklund

Is it possible to create a textfile using a macintosh compatible codepage using
the ASP File System Object? I have been trying pretty hard for a while now and
am getting more and more frustrated. The textfile I am creating is to be
imported into a mac database and there are some "extended" characters that
doesn't display right if I use the standard (windows?) encoding (which I believe
is dependant on the default encoding set on the web server operating system, and
I cannot change that).

I have even tried to "manually" change the affected characters using hexadecimal
search and replace operations, but if I do this the ASP engine generates an
error message and execution of the script is halted:

sData = sData.replace(/\xE5/gm, String.fromCharCode(0x8C)); // å

Oh, and Unicode didn't seem to be supported by the database the customer was
using so that's no option either. I think I need something like the 10000 Mac
Roman cmap.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top