-
-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I have a text document encoded in UTF-8 which I wish to convert to CP1252, but with some specific transliterations. For example I would like any UTF-8 character U+2190 (Left arrow symbol) to be transliterated to the CP1252 character "«" (Left double guillemet, X'AB'), and the UTF-8 character U-2192 (Right arrow symbol) to be transliterated to the CP1252 character "»" (Right double guillemet, X'BB').
The goal here is to convert certain UTF-8 characters to SINGLE CHARACTER transliterations in CP1252, where I could specify transliteration choices in a companion configuration file of some kind.
I am OK with UTF-8 characters with no direct translation into CP1252 for which I provide no overriding transliteration specification to be converted to "?" (question mark) or any default transliteration already set up in recode logic.
Any advice or assistance in how to accomplish this task is appreciated.