I'm inserting special characters in Sybase 15.7 (e.g., ñ) using BCP and specifying the cp437 character set. The insert goes fine, and the special character is visible as expected via isql on my linux box (where the bcp was initiated from) - and when I bcp out the data, everything looks fine in the output file as well. However, the character appears as garbage virtually everywhere else, including from native isql on the PC, various other isql clients, and any type of web presentation. Here's what my bcp in command looks like:
bcp mydb..mytable in myfile.dat -U USER -S myserver -Y -c -J cp437 -t "|" -A 16384 -P PWD -e err_$1.dat -b 5000 > out_$1.dat
Any thoughts/suggestions appreciated!