There are some characters that display differently when I output them to file as compared to passing them to WebServices.
If I copy the Euro from CharMap to an APL+Win edit box, it displays correctly in the edit box.
If the edit box has translate=1, the character is AV[2+IO] and displays as a Euro in the APL+Win session, but not when output to file.
If the edit box has translate=0, the character is AV[128+IO] and displays as a C-cedilla in the session, but correctly as a Euro when output to a text file.
(So I use translate=0 since I'm the only one that sees the APL session and all my users see the edit box contents and the file output.)
When I return it as a WebServices result (type=document), it doesn't display correctly.
If the content-type is text/html, it's a question mark.
If the content-type is application/json, it's a question mark in a black diamond.
For JSON (which is most important to me), I can special case the Euro as \u20AC, but how many ANSI characters would I need to special case? (Euro, British Pound, a whole bunch of accented characters......).
What is the best/recommended way to handle characters which can be written to file correctly, but which WebServices seems to do some sort of translation?
Thanks,
Brian