Re: How to convert from ANSEL/MARC-8 to UTF-8?

[email protected] ("Galen Charlton")
Newsgroups perl.perl4lib
Message-ID <[email protected]>
Hi,

On Wed, Jan 7, 2009 at 11:42 AM, Michael Lackhoff
<[email protected]> wrote:
> diakritics + base char to the combined character. So I still have two
> characters for e.g. the
> German umlauts. This might be correct UTF-8 but is not useable to
> present in (X)HTML.
> Is there any other option short of  doing it by hand with lots of s///
> for at least the most common
> combinations?

You can use NFC() from Unicode::Normalize to do this (after using
MARC::Charset to do the conversion to UTF-8).

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
[email protected]
p: 1-888-564-2457 x709
skype: gmcharlt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.