473,378 Members | 1,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Creating a mac-coded text file

Using: Classic ASP, File System Object, IIS

Once a day my ASP script compiles some data into a csv/text file which is sent
by e-mail to the customer. This file is then imported into a FileMaker database
on the client's computer. The client uses a Macintosh system.

The problem is that on import into FileMaker most characters besides a-z aren't
handled correctly because of the conflict in character encoding between the
Windows web server and the client's Macintosh system.

I am not involved in anything that has to do with the client's computer or
database systems, just the web site. I tried letting the script generate Unicode
encoded files but that created other problems with the import script they used.

So I basically need to figure out a way to create the file (using the File
System Object) with Macintosh encoding. But I can't find out how to accomplish
this.

I have also tried a workaround involving replacing the most frequently used
accented characters (from Windows to Macintosh encoding) using code like this:

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

But the File System Objects generates an error when I try to write str to the
text file.

Any help would be greatly appreciated.
Jul 22 '05 #1
0 1042

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Snuffy2 | last post by:
I'm looking to try to get a users MAC and/or NetBIOS name when they visit my website. It somehow can be done, I'm not sure with PHP, but it can be done. Does anyone have any idea how? As an...
5
by: VooDoo | last post by:
Hi, Is it possible to have the MAC adress of the client that connect to a php page? I have the IP adress, if it's not possible to have directly is it possible to query the DCHP server and have...
8
by: YAN | last post by:
Hi, I want to get the mac address from a machine, which i have the IP address of that machine, how can i do that? I know how to get the mac address of the local machine from the following code: ...
5
by: Gidraz | last post by:
Hello, i can't figure out how to retrieve clients MAC address using C#.NET. I can get IP but not MAC. Thanks in advance. Gidraz
5
by: David Baker | last post by:
Hi all I am very new to ASP.Net. I am trying to create a sniffer for our program. We want our users to click our sniffer and hopefully the sniffer will check their computer against our...
34
by: Simon Wigzell | last post by:
document...focus() will scroll the form to move the specified text field into view on everything I have tried it with except Safari on the MAC. The form doesn't move. Any work around? Thanks.
9
by: James Vanns | last post by:
First, Sorry for the cross-post :p OK, in Linux I can obtain the MAC address using socket(), ioctl() etc. and a few data structures. No problem. However, the resulting MAC is stored in a 14 byte...
17
by: giuseppe.greco | last post by:
Hi guys, Given the following structure typedef struct _MyStruct { int a; int b; } MyStruct;
6
by: Ryan Liu | last post by:
Hi, If I want to uniquely identify a computer. I can read CPU ID or Mac Address. I heard, but is this true: some BIOS can block CPU ID from being read? (In this case, will I get an exception,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.