[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transliteration for use in UTF-8 locales



Keld Jørn Simonsen <keld@xxxxxxxx>:

> On Fri, Oct 13, 2000 at 10:08:25AM +0100, Edmund GRIMLEY EVANS wrote:
> > Is it really a good idea to do transliteration in the locale? Surely
> > it would be easier to have mbrtowc and wcrtomb be inverses and leave
> > transliteration for iconv.
> 
> Transliteration is cuturally dependent, eg cyrilic is very dependent
> on which language you transliterate into. Thus it needs to be in
> the locale.

Transliteration depends on all sorts of things, including arbitrary
local conventions that might vary from library to library. However, I
don't see why that means that mbrtowc should be responsible for
transliteration. If anything, it suggests that a more complex and
flexible mechanism is required.

Edmund
-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/