Text file with international characters & symbols how to translate to English US

Started by Sonia Cruz, March 03, 2021, 02:47:21 PM

Previous topic - Next topic

Sonia Cruz

Hello all!
Do you know how and when detect special characters contained in rows of a text file coming from international symbols of, for example, addresses of Europe, South America, etc., how to translate / convert them to character code equivalent to the English (United States) language? This is for an electronic file that the format do not accept special characters and symbols.   
Thanks in advance!
Regards
Sonia Cruz

Ken Sproul

Ken Sproul
DPI Information Service, Inc.
Pivotal Systems LLC

Devon Austen

If the international symbols are Unicode (UTF-8,UTF-16) you can pass in the input text through the CVS() function and convert to ASCII. This still allows for some international symbols which are part of ASCII though. If your problem is non ASCII then CVS will work for you.

CVS(inputText$,"UTF8:ASCII")

https://manual.pvxplus.com/?functions/cvsextend.htm 
Principal Software Engineer for PVX Plus Technologies LTD.