PC*MILER|Connect includes functions that convert strings containing diacriticals such as accents and stress marks to usable characters. These functions work only for special characters on a standard keyboard; PC*MILER does not handle Japanese or Chinese characters. To work with these characters, use PCMSLookUp.
PCMSAnglicize returns the stop name string without special characters. For example, if geocoding the address “Charny, QC; 1021 École” fails, you need to consider calling this function first.
PCMSSetAnglicize is a global setting that turns the conversion of diacriticals on or off. Some environments and compilers do not have a simple way to convert UTF-8 to a string that is usable or properly displays on a screen or printer. Using this function can alleviate problems and crashes that are caused by strings that are unusable due to diacriticals. This setting can also be controlled in the PCMSERVE.INI.
[ConnectOptions]
Anglicize=true
PC*MILER|Connect functions that are affected by PCMSSetAnglicize
PCMSGetFmtMatch | PCMSGetRpt |
PCMSGetFmtMatch2 | PCMSGetRptLine |
PCMSGetFmtMatch3 | PCMSGetStop |
PCMSGetFmtMatch4 | PCMSLatLongToCity |
PCMSGetLocAtMiles | PCMSGetHTMLRpt |
PCMSGetLocAtMinutes | PCMSGetMatch |