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

Re: Debconf i18n



Tomohiro KUBOTA wrote:
> Recently I am working on LC_CTYPE encoding (including UTF-8) support
> in Debconf.  In other words, I am trying to fix Bug#148490.
> I'd like to report what I am doing and I have a few questions.

Thank you for working on this.

> For (2), I wrote a small prototype script.  It is available in
> http://bugs.debian.org/148490 .  On my machine, I have integrated
> the script into debconf (version 1.1.14) and it works well.

Can you send the patch you used to integrate it into debconf? There are
a few obvious things that could be improved in that subroutine, such as
only loading (and depending on) Text::Iconv if it is required for the
conversion, and only running the locale program once (or finding a
better way than an external program).

> For (3), we will have to think about the following things:
>    a. multibyte characters (in UTF-8, EUC-JP, EUC-KR, GB2312, Big5,...)
>    b. characters which occupy two or zero column (east Asian and combining
>       characters)
>    c. languages without work-separating whitespaces (Korean and Japanese)
> I think I can write a line-breaking algorithm for Debconf, instead of
> using Text::Wrap .  However, I have not started yet.  (I am afraid
> I am reinventing the wheel...  Are there any information on this field?)

I can find nothing on CPAN. You might want to check perl 5.8.0; this may
have been added to the perl core modules as part of thier continuing
push for UTF8. If it's not there yet, that's probably where this module
should be put, once written.

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: