I had expected that such a conversion table could be downloaded from one of the Unicode sites in the Web, but if it is too difficult to find, it can be produced in your case without too much difficulty. Since you want to map iso-8859-1, the only interesting characters for the conversion table are those with an encoding between 140 (=128+32) and 255, so as a first step, you write a simple program which produces a file of bytes with values 140, 141, ..., 255.

In a next step, you use a text editor which can convert to and from UTF8. Since you are working with japanese characters, you likely have such an editor anyway. Otherwise there are plenty of free ones for the usual operating systems. On Windows, for instance, I use the Unicode Version of Michael Zacharov's EC Editor (http://www.econtrol.ru/. I think jEdit (http://www.jedit.org/), which is available for Windows, Unix and MacOS, would do as well. Using such an editor, you load (or paste) your byte string, and save it as UTF8. Using a Hex-Editor, you can see the encoding of these characters.

-- 
Ronald Fischer <ynnor@mm.st>

In reply to Re: iso-8859-1 code converter by rovf
in thread iso-8859-1 code converter by GaijinPunch

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.