Hi all!
Our program based on a Oracle database makes an export of some data in de DB on a windows machine. One of our clients saves that file on a fileserver, opens it in a mac and reads it into Quark. Now all the characters with a ASCII value above 127 are changed, because the mac has a different characterset than windows.
The customer doesn't want to buy a program like 'maclink', that converts the files, so I want to alter the procedure, to change the characterset.
I know I can use convert(), but I don't know witch charactersets Windows and Mac uses. Does anyone know?
another option is to manually replace all characters. now the following problem appears: The DB uses WE8MACROMAN8 characterset, so I can't do: replace('à',chr(224),chr(136)), because à doesn't have ascii-value 224 in WE8MACROMAN8. 224 is the windows-ascii value.
Can someone help me with this?
greetz,
Tom
Our program based on a Oracle database makes an export of some data in de DB on a windows machine. One of our clients saves that file on a fileserver, opens it in a mac and reads it into Quark. Now all the characters with a ASCII value above 127 are changed, because the mac has a different characterset than windows.
The customer doesn't want to buy a program like 'maclink', that converts the files, so I want to alter the procedure, to change the characterset.
I know I can use convert(), but I don't know witch charactersets Windows and Mac uses. Does anyone know?
another option is to manually replace all characters. now the following problem appears: The DB uses WE8MACROMAN8 characterset, so I can't do: replace('à',chr(224),chr(136)), because à doesn't have ascii-value 224 in WE8MACROMAN8. 224 is the windows-ascii value.
Can someone help me with this?
greetz,
Tom