character encoding question

Deploying to Windows? Utilizing VB Script execution? This is the place to ask Windows-specific questions.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
gfioravanti2
Posts: 4
Joined: Fri Jun 19, 2009 8:49 pm

character encoding question

Post by gfioravanti2 » Tue Oct 20, 2009 11:57 pm

In Czechoslovakia, the "Application Data" folder on Windows XP is called "Data aplikací". So, when we get specialfolderpath("26"), the path looks something like this:

C:/Documents and Settings/Username/Data aplikací/OurFolder/

In Rev, all works fine. But when we create a regular text batch file:

put tCommands into URL ("binfile:" & theBatchFileLoc())

the Czech character is transformed into this:

C:/Documents and Settings/Username/Data aplikacÌ/OurFolder/

and the system cannot find the path.

Obviously we are messing up the character encoding when we write the text file and the (one character, in this case) is changed. Has anyone run into this or know how to preserve character encoding in our text file?

Post Reply