× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: EBCDIC <-> ASCII translation tables
  • From: Carey Evans <c.evans@xxxxxxxxxxxx>
  • Date: 01 Nov 2000 21:14:34 +1300
  • User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Jason Felice <jfelice@cronosys.com> writes:

> Is there a quick-and-dirty way to translate from iso-8859-x to UCS-x? 
> Something like twiddling the high eight bits according to the `x' in
> iso-8859-`x' and setting the low eight bits to the iso-8859-x character?

No, except for ISO-8859-1.  The others would have to be done by lookup
tables (or iconv(), recode or similar).

[...]

> Hmm, I don't know enough about this, but what about the Kanji?  I
> don't beleive most Asian languages are mapped in UCS-2...  If that's
> not the case, then UCS-2 is fine by me.  For the time being 16 bits
> is fine by me anyway, since if we end up needing the extra 16 bits,
> moving from 16 to 32 bits isn't as big a deal as moving from
> EBCDIC-8 internal storage to UTFxx (testing for orders, for example,
> will have to be changed).

There's a lot of useful information about character sets at
http://czyborra.com/, such as the Unicode information at
http://czyborra.com/unicode/characters.html.

It looks like almost all the currently used characters are in the
Basic Multilingual Plane, which is just the first 16 bits of Unicode.
Most of the remaining planes haven't been defined, although I guess if
IBM decides to support Klingon (U-000123D0 to U-000123F9) then we'd
need to add full 32-bit support.

-- 
         Carey Evans  http://home.clear.net.nz/pages/c.evans/

    We have full klingon console support just in case
                                        -- Alan Cox on linux-kernel
+---
| This is the LINUX5250 Mailing List!
| To submit a new message, send your mail to LINUX5250@midrange.com.
| To subscribe to this list send email to LINUX5250-SUB@midrange.com.
| To unsubscribe from this list send email to LINUX5250-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.