Re: font reduction build problem

2003-12-24 Thread Kenshi Muto
At 24 Dec 03 05:04:37 GMT,
Joey Hess wrote:
 Unfortunatly, I then found another one:
 
 Description-ja.EUC-JP: CD 
 
  
 Seems to me this should really be in utf-8, shouldn't it? I am currently
 not encluding EUC-JP in the font reduction either. :-( Also, CP1251,
 that seems to be the last one.

Hmm, that's a strange.
At least all of ja.po files in d-i CVS use UTF-8.

OK, I'll try to find tonight.
(I suspect some other package outside of d-i CVS uses EUC-JP)

Thanks,
-- 
Kenshi Muto
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: font reduction build problem

2003-12-24 Thread Christian Perrier

 Binary search finds it's this line:
 
 Description-pl.ISO-8859-2: Za³aduj komponenty instalatora z p³yty CD
 
 And also this one:
 
 Description-hu.ISO-8859-2: Telepítõ összetevõinek betöltése CD-rõl
 
 And lots more all in ISO-8859-*.
 
 For now I am just grepping out everything in ISO-8859-* encodings when
 calling reduce-font. This may cause problems with stuff in those
 encodings, I really don't know.

Well, lot of languages use ISO encodings for their PO files. Indeed,
about the half of languages use UTF-8 and another half use ISO-8859-*

For instance, French uses ISO-8859-15 everywhere. The French team
agreed that we're currently not ready for full UTF-8 (just ask them
the mess this was when I switched to it on my system...:-))).


As far as I know this shouldn't be a problem. Only
languagechooser.l10n entries have to be UTF-8 encoded.

Regarding japanese EUC-JP, I have no idea...:)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: font reduction build problem

2003-12-24 Thread Denis Barbier
On Wed, Dec 24, 2003 at 12:04:37AM -0500, Joey Hess wrote:
 Joey Hess wrote:
  LOCPATH=./tmp/floppy/tree/usr/lib/locale LC_ALL=C.UTF-8 reduce-font 
  /usr/src/unifont.bdf  all-floppy.utf  unifont-reduced-floppy.bdf.tmp
  setlocale: C.UTF-8
  FYI: MB_CUR_MAX/MB_LEN_MAX: 6/16
  error -1 at position 61960 (bytes: 16 Used chars: 446 (61960 processed)
  
  I remember seeing this a while ago, does anyone know a fix?
 
 Binary search finds it's this line:
 
 Description-pl.ISO-8859-2: Za³aduj komponenty instalatora z p³yty CD

Looks like a missing debian/po/output to specify UTF-8 encoded
templates.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: font reduction build problem

2003-12-24 Thread Christian Perrier
Quoting Denis Barbier ([EMAIL PROTECTED]):

 Looks like a missing debian/po/output to specify UTF-8 encoded
 templates.

After agreement with Denis, I added the missing debian/po/output
files.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: font reduction build problem

2003-12-24 Thread Kenshi Muto
At 24 Dec 03 07:42:18 GMT,
Kenshi Muto wrote:
  Unfortunatly, I then found another one:
  
  Description-ja.EUC-JP: CD 
  
   
  Seems to me this should really be in utf-8, shouldn't it? I am currently
  not encluding EUC-JP in the font reduction either. :-( Also, CP1251,
  that seems to be the last one.
 
 Hmm, that's a strange.
 At least all of ja.po files in d-i CVS use UTF-8.
 
 OK, I'll try to find tonight.
 (I suspect some other package outside of d-i CVS uses EUC-JP)

This message came from download-installer.templates.
retriever/net/debian/po/ja.po in d-i CVS is correct UTF-8 and sets
charset.

And I rebuilt download-installer from source, correct templates is
created. Very strange...
Could you check again your build environment, Joey?

Thanks,
-- 
Kenshi Muto
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: font reduction build problem

2003-12-24 Thread Geert Stappers
On Wed, Dec 24, 2003 at 12:04:37AM -0500, Joey Hess wrote:
snip/

 And lots more all in ISO-8859-*.
 
 For now I am just grepping out everything in ISO-8859-* encodings when
 calling reduce-font. This may cause problems with stuff in those
 encodings, I really don't know.
 
 Unfortunatly, I then found another one:
 
 Description-ja.EUC-JP: CD 
 ¤«¤é¥¤¥ó¥¹¥È¡¼¥é¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò¥í¡¼¥É
 
 Seems to me this should really be in utf-8, shouldn't it? I am currently
 not encluding EUC-JP in the font reduction either. :-( Also, CP1251,
 that seems to be the last one.
 
 So what's the real fix for this?
 

From the file tools/languagechooser/languagelist:

|Italian (Italy);[EMAIL PROTECTED];it;IT;
|Italian (Switzerland);it_CH;it;CH;
|# Not sure which locale to select, the EUC-JP or the UTF-8 one.  Picked one at random.
|# [pere 2003-09-06]
|Japanese;ja_JP.EUC-JP;ja;JP;
|# Could be both 'KR' (South) and 'KP' (North), but the locale is using
|# 'KR' so we use it as the country.
|# Not sure which locale to select, the EUC-KR or the UTF-8 one.  Picked one at random.
|# [pere 2003-09-06]
|Korean;ko_KR.EUC-KR;ko;KR;

Hope This Helps

 -- 
 see shy jo


Geert Stappers


pgp0.pgp
Description: PGP signature


Re: font reduction build problem

2003-12-24 Thread Steve Langasek
On Wed, Dec 24, 2003 at 04:42:18PM +0900, Kenshi Muto wrote:
 At 24 Dec 03 05:04:37 GMT,
 Joey Hess wrote:
  Unfortunatly, I then found another one:
  
  Description-ja.EUC-JP: CD 
  
   
  Seems to me this should really be in utf-8, shouldn't it? I am currently
  not encluding EUC-JP in the font reduction either. :-( Also, CP1251,
  that seems to be the last one.

 Hmm, that's a strange.
 At least all of ja.po files in d-i CVS use UTF-8.

 OK, I'll try to find tonight.
 (I suspect some other package outside of d-i CVS uses EUC-JP)

The email I received from Joey appeared to contain UTF-8-encoded
strings in a message that didn't declare UTF-8 encoding, for both the
strings labelled ISO-8859-x and EUC-JP.  Could this be the source of
some of the problems, that the strings *are* UTF-8 but are mis-labelled
somehow?

-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


font reduction build problem

2003-12-23 Thread Joey Hess
LOCPATH=./tmp/floppy/tree/usr/lib/locale LC_ALL=C.UTF-8 reduce-font 
/usr/src/unifont.bdf  all-floppy.utf  unifont-reduced-floppy.bdf.tmp
setlocale: C.UTF-8
FYI: MB_CUR_MAX/MB_LEN_MAX: 6/16
error -1 at position 61960 (bytes: 16 Used chars: 446 (61960 processed)

I remember seeing this a while ago, does anyone know a fix?

-- 
see shy jo


signature.asc
Description: Digital signature


Re: font reduction build problem

2003-12-23 Thread Joey Hess
Joey Hess wrote:
 LOCPATH=./tmp/floppy/tree/usr/lib/locale LC_ALL=C.UTF-8 reduce-font 
 /usr/src/unifont.bdf  all-floppy.utf  unifont-reduced-floppy.bdf.tmp
 setlocale: C.UTF-8
 FYI: MB_CUR_MAX/MB_LEN_MAX: 6/16
 error -1 at position 61960 (bytes: 16 Used chars: 446 (61960 processed)
 
 I remember seeing this a while ago, does anyone know a fix?

Binary search finds it's this line:

Description-pl.ISO-8859-2: Za³aduj komponenty instalatora z p³yty CD

And also this one:

Description-hu.ISO-8859-2: Telepítõ összetevõinek betöltése CD-rõl

And lots more all in ISO-8859-*.

For now I am just grepping out everything in ISO-8859-* encodings when
calling reduce-font. This may cause problems with stuff in those
encodings, I really don't know.

Unfortunatly, I then found another one:

Description-ja.EUC-JP: CD 
¤«¤é¥¤¥ó¥¹¥È¡¼¥é¥³¥ó¥Ý¡¼¥Í¥ó¥È¤ò¥í¡¼¥É

Seems to me this should really be in utf-8, shouldn't it? I am currently
not encluding EUC-JP in the font reduction either. :-( Also, CP1251,
that seems to be the last one.

So what's the real fix for this?

-- 
see shy jo


signature.asc
Description: Digital signature