[Info-vax] terminal fallback tables
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Sat Mar 7 09:35:54 EST 2015
On 2015-03-07 07:35:09 +0000, jirkak737 at gmail.com said:
> I'd like to make my own fallback tables to translate character sets
> (iso-8859-2 <-> cp1250, iso-8859-1 <-> cp1252, ...).
Since you've posted a very specific question on a very specific
approach using a very specific tool, you've already gotten a very
specific (and correct) answer.
But on the off chance that this is a more generic character-conversion
request and not something that needs to be implemented in the terminal
driver display and its associated fallback mechanisms — it'd be a
little odd to see Windows character encoding in that context, but then
I also don't know the details of what you're working on here — so I'd
wonder about the applicability and use of TFU here, and might use a
tool that already provides various conversions, and that provides an
API; iconv:
<http://h71000.www7.hp.com/doc/73final/6494/6494pro_005.html#xpg4_iconv_conv_comm>
<http://labs.hoffmanlabs.com/node/1489>
<http://labs.hoffmanlabs.com/node/1637>
OpenVMS with I18N installed doesn't have the referenced and
Windows-specific character conversions included, though something like
<http://savannah.gnu.org/projects/libiconv/> or
<http://sourceforge.net/projects/gettext/files/libiconv-win32/1.9.1/>
might be useful for adding those into your local environment.
The iconv mechanisms have a C API available, as well.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list