Cheers for the responses, guys.

Okay, I didn't know the iso-8859-1/HTML representation is actually the Unicode representation. The overall goal or whatever is this:
I've got a list of games I slurped off of Amazon.JP. I need their English equivalent names, but of course, want the computer to do the work for me. play-asia.com is a pretty good source. If you search for the Japanese name, the first hit is usually it, and the default display is it's English title (bingo). The caveat is that the URL uses this 5-digit representation for each string. What I did before when I needed to do something similar for a site who used a legit Japanese encoding, was simply examined each character, and got it's corresponding code (utf8 or euc) from a hash populated by one of the tables on the net, much like the one you linked.

So, the search link for "任天堂" (Nintendo) is
http://www.play-asia.com/paOS-19-71-6-49-en-15-%26%2320219%3B%26%2322825%3B%26%2322530%3B-43-6.html They use %26%23 as a character breaker, FYI.

Your solution seems to be in the right direction, but I'm not quite sure how it comes full circle.

-GP

In reply to Re^2: iso-8859-1 code converter by GaijinPunch
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.