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

[debian-devel:13191] Re: LANG/locale in woody



ใ‚€ใคใฟใงใ™ใ€‚

>>>>> In [debian-devel : No.13190] 
>>>>>	ISHIKAWA Mutsumi <ishikawa@xxxxxxxxxxx> wrote:
>> ใ‚€ใคใฟใงใ™ใ€‚

>> >>>>> In [debian-devel : No.13188] 
>> >>>>>	Taketoshi Sano <kgh12351@xxxxxxxxxxx> wrote:
>> >> ไฝ้‡Ž๏ผ ๆตœๆพใงใ™ใ€‚

>> >> ใพใ ใกใ‚‡ใฃใจใฏใฃใใ‚Šใ—ใฆใชใ„ใงใ™ใŒใ€4.0.x ใฎใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใŒ official ใซ
>> >> upload ใ•ใ‚ŒใŸใ‚‰ /etc/X11/ja_JP.eucJP/app-defaults/ ใจใ„ใ†ใ“ใจใซ
>> >> ใชใ‚‹ใฎใงใฏใชใ„ใ‹ใจใ€‚ใŸใ ็งใฎ็’ฐๅขƒใง 3.3.6 + updated locale.alias ใฎ
>> >> ๅ ดๅˆใซ ja_JP.eucJP ใ ใจใƒ€ใƒกใง ja_JP.eucjp ใชใ‚‰ OK ใจใ„ใ†ใ“ใจใŒใ‚ใฃใŸ
>> >> ใฎใงใ€ใใ“ใ‚’็ขบ่ชใ—ใŸใ„ใจๆ€ใฃใฆใพใ™ใ€‚

>>  ใใ‚Œใฏใ™ใงใซ็ขบ่ชใ—ใฆใพใ™ใ€‚
>>  ็พ็Šถใ ใจ ja_JP.eucjp onlyใ€‚ja_JP.eucJP ใฏ่ฆ‹ใพใ›ใ‚“ใ€‚
>>  setlocale() ใŒ ja_JP.eucjp ใ‚’่ฟ”ใ™ใฎใงใ€‚

 ่ฃœ่ถณใ€‚ใใฎๆ™‚ใฎ IRC ใฎใƒญใ‚ฐใ‹ใ‚‰ๅฟ…่ฆ้ƒจๅˆ†ใ ใ‘ๅˆ‡ใ‚Šๅ‡บใ—ใพใ—ใŸใ€‚
 ใกใจ้•ทใ„ & ่ชญใฟใซใใ„ใ‘ใฉใ”ๅฎน่ตฆ

(ukai=ใ†ใ‹ใ„ใ•ใ‚“ gotom=ใ”ใจใ‚€ HANZUBON=ใ‚ใŸใ—)

 ใงใ€ๆœ€ๅพŒใฎ FHS ใ‹ใ‚‰ใฎ่ฟ”ไบ‹ใฏใพใ ใชใ„ ใใ†ใงใ™(gotom ๆ›ฐใ)

00:20 >HANZUBON< ใฌใซใ‚ƒใ
00:20 >HANZUBON< access("/home/ishikawa/ja_JP.eucjp/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/home/ishikawa/ja/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/home/ishikawa/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/home/ishikawa/ja_JP.eucjp/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/home/ishikawa/ja/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/home/ishikawa/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/etc/X11/ja_JP.eucjp/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/etc/X11/ja/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/etc/X11/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/etc/X11/ja_JP.eucjp/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/etc/X11/ja/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/etc/X11/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/usr/X11R6/lib/X11/ja_JP.eucjp/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/usr/X11R6/lib/X11/ja/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/usr/X11R6/lib/X11/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/usr/X11R6/lib/X11/ja_JP.eucjp/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/usr/X11R6/lib/X11/ja/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< access("/usr/X11R6/lib/X11/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:20 >HANZUBON< ใ‚นใ‚ฎ
00:20 >HANZUBON< ใฉใ†ๆ€ใ†?
00:21 <ukai> ใ‚€
00:21 >HANZUBON<  > app-defaults ใฎๆคœ็ดข้ †
00:21 >HANZUBON< ja_JP.eucjp ่ฆ‹ใกใ‚ƒใฃใฆใ‚‹
00:21 <ukai> ใ‚€
00:22 <gotom> ใ‚‚ใบ
00:22 <gotom> ใ‚€
00:22 <gotom> eucJP ใ‚’ normalized ?
00:22 >HANZUBON< ใ‚€ ใ„ใ„ใจใ“ใ‚ใซใ‚ใ‚‰ใ‚ใ‚ŒใŸ
00:22 <gotom> ใจใ„ใ†ใ‹ normalized ใ—ใชใ„ operator ใฃใฆๆŒ‡ๅฎšใงใใชใ„ใ‚“ใ™ใ‹
00:23 <gotom> ใ‚€ ใƒคใƒใใ†ใ 
00:23 <gotom> ๅธฐใ‚‹ใ‹ 
00:23 <gotom> (ใ‚ใ‚‰
00:23 >HANZUBON< ใชใฌ(ใ‚ใ‚‰
00:23 >HANZUBON< ใจใ„ใ†ใ‹
00:23 >HANZUBON< normalized ใ—ใชใ„ operator ใฃใฆ
00:23 >HANZUBON< ใชใ‚“ใ ?
00:23 <gotom> ใคใพใ‚Š %N ใจใ‹ %ใ‚‚ใ’ ใง
00:23 >HANZUBON< ใชใ‚“ใ  ใคใƒผใ‹ ใใ‚“ใช operator ใ‚ใฃใŸใฃใ‘?
00:23 <gotom> eucjp ใฟใŸใ„ใซ ๅฐๆ–‡ๅญ—ใซๅค‰ๆ›ใ—ใฆใ„ใ‚‹ใฎใŒใพใšใ’
00:23 <gotom> ใ‚€ ใชใ„?
00:23 <ukai> ใตใ‚€> grepper
00:24 <gotom> ใจใ„ใ†ใ‹ X ใฎใ‚ฝใƒผใ‚น่‡ชไฝ“ใŒๅ•้กŒ?
00:24 <ukai> %L ใจใ‹
00:24 >HANZUBON< ใ‚“ใƒผ ใคใƒผใ‹
00:24 <gotom> LANG ใฎๅฑ•้–‹ใŒใ‚ขใƒฌ?
00:24 <ukai> ใชใซใŒใ‚ใฃใŸใฃใ‘
00:24 <gotom> ใ‚ใ ใ™ใจใ—ใฆใฏ
00:24 <ukai> ใ„ใ‚ใ„ใ‚ใ‚ใฃใŸใใถใ‚“
00:24 <gotom> normalized ใฎๅ‰ใซ non-normalized name ใ‚‚
00:24 <gotom> ๆŽข็ดขใ—ใฆๆฌฒใ—ใ„ๆฐ—ๅˆ†
00:25 >HANZUBON< ใ‚“ใƒผ ใคใƒผใ‹
00:25 >HANZUBON< #define XFileSearchPathDefault Concat4(EtcX11Directory/%L/%T/%N%C,%S:EtcX11Directory/%l/%T/%N%C,%S:EtcX11Directory/%T/%N%C,%S:EtcX11Directory/%L/%T/%N%S:EtcX11Directory/%l/%T/%N%S:EtcX11Directory/%T/%N%S):Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
00:25 >HANZUBON< ไปŠ ใ“ใ†
00:25 >HANZUBON< debian-x  ใซใชใ’ใŸใพใ‚“ใพใ ใช(ใ‚ใ‚‰
00:28 >HANZUBON< ใˆใƒผใจ
00:29 >HANZUBON< access("/home/ishikawa/ja_JP.eucJP/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/home/ishikawa/ja/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/home/ishikawa/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/home/ishikawa/ja_JP.eucJP/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/home/ishikawa/ja/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/home/ishikawa/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/usr/X11R6/lib/X11/ja_JP.eucJP/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/usr/X11R6/lib/X11/ja/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/usr/X11R6/lib/X11/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/usr/X11R6/lib/X11/ja_JP.eucJP/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/usr/X11R6/lib/X11/ja/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< access("/usr/X11R6/lib/X11/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:29 >HANZUBON< ใ“ใ‚Œ 3.3.6-10
00:29 >HANZUBON< and libc6_2.1.3-13
00:29 <gotom> ใ‚€
00:29 >HANZUBON< ใฎๅ ดๅˆใ€‚
00:29 >HANZUBON< Concat4($(LIBDIR)/%L/%T/%N%C,%S:$(LIBDIR)/%l/%T/%N%C,%S:$(LIBDIR)/%T/%N%C,%S:$(LIBDIR)/%L/%T/%N%S:$(LIBDIR)/%l/%T/%N%S:$(LIBDIR)/%T/%N%S)
00:30 >HANZUBON< ใฎ้ƒจๅˆ†ใ ใ‘ใ ใ‹ใ‚‰ > FileSearchPath
00:30 >HANZUBON< normalization ใ—ใฆใ‚‹ใฎใฏ
00:30 >HANZUBON< libX11 ใ˜ใ‚ƒใชใ„ๆฐ—ๅˆ†
00:30 >HANZUBON< ใชใ‚“ใงใ™ใŒใ€‚
00:30 <gotom> ใƒŠใƒŒ
00:30 >HANZUBON< libX11 -> libc6 ใฎไธญใง ใ‚ขใƒฌ ใชไบˆๆ„Ÿ
00:31 <gotom> ใ‚€ ใใ†ใ™ใฃใจ
00:31 <gotom> %L ใงใ‚‚ normalized ใ•ใ‚Œใกใ‚ƒใ†?
00:31 >HANZUBON< ใ•ใ‚Œใฆใ‚‹ใญ
00:32 >HANZUBON< 00:20 >HANZUBON< access("/etc/X11/ja_JP.eucjp/app-defaults/XCalendar", R_OK) = -1 ENOENT (No such file or directory)
00:32 <gotom> %c ใ ใจใฉใ†ใ ใ‚
00:32 >HANZUBON< ใ“ใ‚Œ %L ใฎๅ ดๅˆใ ใ—ใ€‚
00:32 <gotom> ใ‚€
00:32 <gotom> ใƒใ‚ฐใ‹ใ‚‚ใชใƒผ
00:33 <gotom> ใˆใƒผใจ
00:33 <gotom>     `%L'
00:33 <gotom>           This format element is substituted with the name of the
00:33 <gotom>           currently selected locale for translating messages.  How this
00:33 <gotom>           is determined is explained below.
00:33 <gotom> ใ‚“ใง
00:33 <gotom>    `%l'
00:33 <gotom>           (This is the lowercase ell.) This format element is
00:33 <gotom>           substituted with the language element of the locale name.
00:33 <gotom>           The string describing the selected locale is expected to have
00:33 <gotom>           the form `LANG[_TERR[.CODESET]]' and this format uses the
00:33 <gotom>           first part LANG.
00:33 <gotom> ใชใฎใง
00:33 <gotom> %L ใ ใจๅค‰ๆ›ใ•ใ‚Œใชใ„ใฏใšใชใฎใ ใŒใ€‚
00:33 >HANZUBON< ใ‚“ใƒผใƒผ
00:33 >HANZUBON< ใใ†ใญ
00:34 >HANZUBON< ใคใƒผใ‹ ใใ†ใ™ใฃใจ ใฉใฃใกใฎใƒใ‚ฐใ ?
00:34 <gotom> glibc ?
00:34 <gotom> or X ?
00:34 >HANZUBON< libc6_2.1.3 ใจ phase2v20 ใฎๅ‹•ไฝœใฟใŸใ„ใช
00:37 <gotom> mosikasite
00:37 <gotom> ใ‚‚ใ—ใ‹ใ—ใฆ glibc ใ‹ใ‚‚โ€ฆ
00:37 <ukai> ใ‚€
00:38 <gotom> ใจใ„ใ†ใ‹ ใจใ‚Šใ‚ใˆใš ใ‹ใˆใ‚‹
00:43 >HANZUBON< ใตใ‚€ใƒผ
00:43 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ glibc_2.1.3 ใจ XFree86 4 ใฎ็ต„ใฟๅˆใ‚ใ›ใ ใจ normalization ใ—ใชใ„ใ‚นใ‚ฎ
00:43 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใจใ‚€ glibc_2.1.3 ใจ XFree86 4 ใฎ็ต„ใฟๅˆใ‚ใ›ใ ใจ normalization ใ—ใชใ„ใ‚นใ‚ฎ
00:44 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใ‚ใ‚€glibc2.2 ใŒๆ€ชใ—ใ„ไบˆๆ„Ÿ(ใ‚ใ‚‰
00:44 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใ‚ใ‚€ glibc2.2 ใŒๆ€ชใ—ใ„ไบˆๆ„Ÿ(ใ‚ใ‚‰
00:44 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใจใ‚€ glibc2.2 ใŒๆ€ชใ—ใ„ไบˆๆ„Ÿ(ใ‚ใ‚‰
00:44 >HANZUBON< ใ‹ใฟใ™ใŽใ ใ€‚ใ€‚ใ€‚
01:17 >HANZUBON< ใ‚ใ‚Œใ ใช ใŠใ‚Œ debian-x ใงใ†ใๆ›ธใ„ใŸใช libX11 ใ˜ใ‚ƒใชใใฆ libXt ใ ใžใช(ใ‚ใ‚‰
01:31 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใจใ‚€ 2.1.3 ใงๆญฃๅธธใซๅ‹•ใ„ใฆใ‚‹ X 3.3.6 ใ‚’ 2.1.95 ใช็’ฐๅขƒใซใ‚‚ใฃใฆใใ‚‹ใจ normalization ใ™ใ‚‹ใ‚นใ‚ฎ
01:53 <ukai> ใƒ•ใƒ•
01:55 <ukai> ใตใ‚€
01:56 <gotom> ใ‚‚ใบ
01:56 <gotom> ใงใ‚“ใ”ใ‚“ใŠใ—ใˆใฆ
01:56 <gotom> ้ƒจ้•ทใŠใใฆใ‚‹ใ‹ใช
01:56 <gotom> ใ†ใƒผใ‚€
01:57 <gotom> ใใ‚‹ใงใ‚“ใ”ใ‚“ ใƒขใƒข ltrace ใง catopen/catclose/catgets() ็ณปใฎ library call ใ—ใฆใ‚‹ใ‹ใƒใ‚งใƒƒใ‚ฏใ—ใฆใใ‚Œใฃใ™
02:03 <gotom> %N ใฃใฆ catget ใงใ—ใ‹ใคใ‹ใˆใชใ„ใ‚ˆใชใ
02:04 <gotom> unix98 ใฟใ‚‹ใ‹
02:11 <gotom> ใใ‚‹ใงใ‚“ใ”ใ‚“ ใƒขใƒข glibc2.1.3 + XF86 4.0.1 ใฎ็ต„ๅˆใ‚ใ›ใง eucJP ใจ eucjp ไธกๆ–นใฎใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใ‚’่ฆ‹ใ‚‹ใฃใ™ใ‹? ใใ‚Œใจใ‚‚ eucJP ใ—ใ‹ใฟใชใ„ใจใ‹?
02:12 <gotom> GNU/FHS ใซๅพ“ใฃใฆ eucjp ใซใ™ใ‚‹ใ‹
02:13 <ukai> ใ†ใƒผใ‚€
02:14 <gotom> ใใธ
02:14 <ukai> ใ‚ขใƒฌใ ใช
02:14 <ukai> ใ‚ถใƒ–ใƒณใ‚ฐใƒซใจใ‹
02:14 <ukai> ใฉใ†ใ ใ‚ใ†? (ใƒฏใƒฉ
02:24 >HANZUBON< ใ‚€ ใ”ใจใ‚€ใญใŸ?
02:24 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ใŠใ—ใˆใฆ
02:25 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใจใ‚€ catopen/catclose/catget ใจใ‚‚ใซไฝฟใฃใฆใชใ„
02:25 <ukai> ใ‚€
02:25 >HANZUBON< ใใ‚‹ใงใ‚“ใ”ใ‚“ ใ”ใจใ‚€ eucJP ใ—ใ‹ใฟใญใ„
02:25 <gotom> ใ†ใƒผใ‚€
02:25 <gotom> ใงใ‚“ใ”ใ‚“ใŠใ—ใˆใฆ
02:25 <gotom> ใพใ„ใฃใŸใช
02:26 <gotom> %N ใฏใฉใ†ใ‚„ใฃใฆๅ‘ผใณๅ‡บใ—ใฆใ‚‹ใ‚“ใ ใ‚ใ†?
02:26 <gotom> ใˆใจ็ขบ่ช
02:26 >HANZUBON< ใ‚€ ใใ‚Œใฏ ใพใ ๅฏใ‚‹ใชใจ่จ€ใฃใฆใ„ใ‚‹? (ใ‚ใ‚‰
02:26 >HANZUBON<  > ใˆใจ็ขบ่ช
02:26 <gotom> %? ?= N,L,l,t,c ไปฅๅค–ใฎ directive character ใฏไฝฟใฃใฆใ„ใ‚‹ใฃใ™ใ‹
02:26 <gotom> ใ‚‚ใกใ‚ใ‚“ (ใƒฏใƒฉ
02:27 >HANZUBON< ไฝฟใฃใฆใชใ„
02:27 <gotom> ใ†ใƒผใ‚“
02:28 <gotom> catopen ไปฅๅค–ใฎใ‚คใƒณใ‚ฟใƒผใƒ•ใ‚งใƒผใ‚นใง
02:28 <gotom> ใฉใ†ใ‚„ใฃใฆ %N ใจใ‹ใคใ‹ใˆใ‚‹ใ‚“ใ ใ‚?
02:29 >HANZUBON< ใ‚“ใƒผ
02:29 >HANZUBON< ใชใ‚“ใคใƒผใ‹ _XtGetPerDisplay(
02:29 >HANZUBON< ใ—ใฆ ใ™ใงใซ eucjp ใŒๅ…ฅใฃใฆใ‚‹
02:29 >HANZUBON< ๆฐ—ๅˆ†ใชใฎใงใ™ใŒ
02:30 <gotom> ใใฎ้–ขๆ•ฐใ—ใ‚‰ใชใ„ใฃใ™
02:30 <gotom> ๅ†…้ƒจ้–ขๆ•ฐใ‹
02:30 <gotom> X ใ‚ˆใใ‚ใ‹ใ‚‰ใ‚“ใชใƒผ
02:30 <gotom> ใ ใ„ใŸใ„ glibc ใจ็ต„ๅˆใ‚ใ›ใฆ ใƒขใ‚ฒใจใ„ใ†ใฎใŒ ใ‚ˆใใ‚ใ‹ใ‚‰ใชใ„
02:30 <gotom> X11 ใฎๅ†…้ƒจ้–ขๆ•ฐใง ๅ‡ฆ็†ใ—ใฆใ„ใ‚‹ใฎใ‹
02:30 <gotom> glibc ใงๅ‡ฆ็†ใ—ใฆใ„ใ‚‹ใฎใ‹ ใฏใฃใใ‚Šใ—ใชใ„ใซใ‚ƒ
02:31 >HANZUBON<  Display *dpy ใซ
02:31 >HANZUBON< eucjp ใฏใ„ใฃใกใ‚ƒใฃใฆใ‚‹ใ’
02:31 <gotom> ใ‚€
02:32 <ukai> ใใ‚Œใฃใฆ
02:32 <ukai> locale.aliasใฏใฉใ†ใชใฃใฆใ‚‹ใฎ?
02:33 >HANZUBON< ใˆใƒผใจ ใฉใ“ใฎ? > locale.alias
02:33 >HANZUBON< /etc/locale.alias?
02:33 <ukai> X?
02:33 <ukai> /usr/X11R6/lib/X11/locale/locale.alias
02:33 >HANZUBON< ใ‚“ใƒผใƒผ
02:34 <ukai> ใ“ใ‚Œใง normalize ใ—ใฆใ‚‹ใ‚“ใงใชใ„?
02:34 >HANZUBON< ja_JP						ja_JP.eucJP
02:34 >HANZUBON< ja						ja_JP.eucJP
02:34 >HANZUBON< ja.JIS						ja_JP.JIS7
02:34 >HANZUBON< ja.SJIS						ja_JP.SJIS
02:34 >HANZUBON< ja_JP						ja_JP.eucJP
02:34 >HANZUBON< ja_JP.ujis					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.eucjp					ja_JP.eucJP
02:34 >HANZUBON< Jp_JP						ja_JP.eucJP
02:34 >HANZUBON< ja_JP.AJEC					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.EUC					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.EUC_JP					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.ISO-2022-JP				ja_JP.JIS7
02:34 >HANZUBON< ja_JP.JIS					ja_JP.JIS7
02:34 >HANZUBON< ja_JP.jis7					ja_JP.JIS7
02:34 >HANZUBON< ja_JP.mscode					ja_JP.SJIS
02:34 >HANZUBON< ja_JP.SJIS					ja_JP.SJIS
02:34 >HANZUBON< japanese					ja_JP.SJIS
02:34 >HANZUBON< japanese.euc					ja_JP.eucJP
02:34 >HANZUBON< japan						ja_JP.eucJP
02:34 >HANZUBON< Japanese-EUC					ja_JP.eucJP
02:34 >HANZUBON< # as a base charset. The newer (but not yet official as of january 2000)
02:34 >HANZUBON< ja_JP:						ja_JP.eucJP
02:34 >HANZUBON< ja:						ja_JP.eucJP
02:34 >HANZUBON< ja.JIS:						ja_JP.JIS7
02:34 >HANZUBON< ja.SJIS:					ja_JP.SJIS
02:34 >HANZUBON< ja_JP:						ja_JP.eucJP
02:34 >HANZUBON< ja_JP.ujis:					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.eucjp:					ja_JP.eucJP
02:34 <ukai> ใ‚€
02:34 >HANZUBON< Jp_JP:						ja_JP.eucJP
02:34 >HANZUBON< ja_JP.AJEC:					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.EUC:					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.EUC-JP:					ja_JP.eucJP
02:34 >HANZUBON< ja_JP.ISO-2022-JP:				ja_JP.JIS7
02:34 >HANZUBON< ja_JP.JIS:					ja_JP.JIS7
02:34 >HANZUBON< ja_JP.jis7:					ja_JP.JIS7
02:34 >HANZUBON< ja_JP.mscode:					ja_JP.SJIS
02:34 >HANZUBON< ja_JP.SJIS:					ja_JP.SJIS
02:34 >HANZUBON< japanese:					ja_JP.SJIS
02:34 >HANZUBON< japanese.euc:					ja_JP.eucJP
02:34 >HANZUBON< japan:						ja_JP.eucJP
02:34 >HANZUBON< Japanese-EUC:					ja_JP.eucJP
02:34 <ukai> eucJP ใ‹
02:34 >HANZUBON< grep ja ใ‚นใ‚ฎ
02:34 >HANZUBON< japanese        ja_JP.eucJP
02:34 >HANZUBON< japanese.euc    ja_JP.eucJP
02:34 >HANZUBON< ja_JP           ja_JP.eucJP
02:34 >HANZUBON< japanese.sjis   ja_JP.SJIS
02:34 >HANZUBON< /etc/locale.alias
02:35 >HANZUBON< ใฎใง normalization ใฏใ—ใฆใซใ‚ƒใ„
02:35 <ukai> ใตใƒผใ‚€
02:39 <ukai> xc/lib/Xt/Intrinsic.c ใฎ ExtractLocaleName()?
02:39 <ukai> ใ“ใฎๅ‰ใ‹
02:40 <ukai> XtPerDisplay pdใฎ pd->language ใŒใ‚ขใƒฌ?
02:40 >HANZUBON< ใใ†
02:40 >HANZUBON< pd->language ใซ eucjp ใŒใ™ใงใซๅ…ฅใฃใฆใ‚‹ใฎใง
02:40 >HANZUBON< ใƒŠใƒ‹
02:41 <ukai> Initialize.c ใฎ GetLanguage()?
02:41 <ukai> langProcRec.proc ?
02:43 <ukai> XSetLocaleModifiers?
02:47 <ukai> ใ‚ใ
02:47 <ukai> setlocale()ใ™ใญ
02:47 <ukai> 2.1.3 ใ ใจ LANG=ja_JP.eucJP ใง setlocale(LC_ALL, "") -> ja_JP.eucJP
02:47 <ukai> 2.1.95 ใ ใจLANG=ja_JP.eucJP ใง setlocale(LC_ALL, "") -> ja_JP.eucjp
02:48 <gotomium> ใใ‚Œใฏ
02:48 <gotomium> ใชใ‚“ใจใ‚‚ใชใ‚‰ใชใ„ใซใ‚ƒใƒผ
02:48 <gotomium> > eucjp
02:48 >HANZUBON< ใ‚€
02:48 >HANZUBON< ใ†ใƒผใ‚€
02:48 <gotomium> ใคใพใ‚Šใ‚ใ‚Œใ‹
02:48 <gotomium> ใ‚‚ใ†ใ„ใ„ใ‹
02:48 <gotomium> ๅ…จ้ƒจๅฐๆ–‡ๅญ—ใงใ„ใในใ—!
02:48 >HANZUBON< ใ“ใ‚Œ ใŠใฃใ‹ใ‘ใฆใ‚‚ ใฉใ†ใซใ‚‚ใชใ‚‰ใ‚“ใช
02:49 <gotomium> ใ‚ใ‚Œใ  ๆ—ฅๆœฌ่ชžใƒญใ‚ฑใƒผใƒซๆŒ‡้‡ใจใ‹
02:49 <gotomium> ๅ•†็”จ unix ใ‚’็„ก่ฆ–ใ™ใ‚Œใฐ
02:49 <gotomium> ใ“ใ†ใ 
02:49 <gotomium> ใƒปใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใฎ codeset ใฏ FHS ใซๅพ“ใฃใฆ ๅฐๆ–‡ๅญ—
02:49 <gotomium> ใƒปใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฏ ไธŽใˆใ‚‰ใ‚ŒใŸ codeset ใจ normalized codeset ใฎไธกๆ–นใ‚’ๆคœ็ดข
02:49 <gotomium> ใ„ใ˜ใ‚‡ใ†
02:50 <ukai> ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใŒๆคœ็ดขใ—ใชใ‘ใ‚Œใฐใชใ‚‰ใชใ„ๆ™‚ใฃใฆ
02:50 <ukai> ใชใซใŒใ‚ใ‚‹ใ™ใ‹
02:50 <gotomium> ใ‚ใพใ‚Šไบ‹ไพ‹ใŒๆ€ใ„ไป˜ใ‹ใชใ„ใฎใงใ™ใŒ
02:50 <gotomium> ไพ‹ใˆใฐ
02:50 <gotomium> ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใ‚’ใ•ใŒใ™ใจใใจใ‹?
02:50 <ukai> ใชใ‚“ใฎใŸใ‚ใซ?
02:50 <gotomium> man ใชใ‚‰ใฐ
02:51 <gotomium> ja_JP.eucjp/man1 ใฟใŸใ„ใชใ€‚
02:51 <ukai> ใใ‚Œใฏใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใฎ codeset ใจใฏ้•ใ†ใฎใงใ™ใ‹?
02:51 <gotomium> ใ‚€
02:51 <gotomium> ใใ†
02:51 <gotomium> ใˆใˆใจ
02:51 <ukai> ใจใ„ใ†ใ‹ ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใฎcodeset ใ‚’ๅฎš็พฉใ›ใ‚ˆ(ใƒฏใƒฉ
02:51 >HANZUBON< ใฒใฒ
02:51 <gotomium> ใ‚ใ
02:52 <ukai> manใ‚‚ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใ˜ใ‚ƒใ‚“
02:52 <gotomium> ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใซ ใƒญใ‚ฑใƒผใƒซๅ็งฐใŒใคใ‘ใ‚‰ใ‚Œใฆใ„ใŸๅ ดๅˆ?
02:52 <gotomium> ใใ—ใฆใใ“ใ‚’ open ใชใฉใ™ใ‚‹ๅ ดๅˆ
02:52 <ukai> ใ ใ‹ใ‚‰ใใ‚Œใ ใฃใŸใ‚‰ manใ‚‚ใใ†ใงใฏ?
02:52 <gotomium> ใใ†ใฃใ™
02:52 <ukai> ใจใ„ใ†ใ‹ใพใ•ใซใใฎไพ‹?
02:52 <gotomium> ใธใ„
02:52 <gotomium> ใŠใใ‚‰ใใ€‚
02:52 <ukai> ใชใฎใง ja_JP.eucjp/man1 ใซใ—ใ‚ใจ
02:53 <gotomium> ใธใ„
02:53 <gotomium> ใจใ„ใ†ใ‹ libc-alpha ใซ
02:53 <gotomium> ใ‚ใจ fhs ใซ่ณชๅ•็ŠถๆŠ•ใ’ใฆ 
02:53 <ukai> ใจใ™ใ‚‹ใจใ‚ขใƒ—ใƒชใง่‡ชๅˆ†ใง ใจใ„ใ†ใฎใฏใฉใ‚“ใชใ‚“ใ™ใ‹?
02:53 <gotomium> ใฏใฃใใ‚Šใ•ใ›ใ‚‹ใ‹ใซใ‚‡
02:53 <gotomium> ใˆใˆใจ
02:54 <gotomium> ใ†ใƒผใ‚“
02:54 <gotomium> ใใ†ใ‹
02:54 <gotomium> setlocale ใงๅ–ๅพ—ใ—ใŸ locale ๅใ‚’ไฝฟใฃใฆใ‚‚ใ‚‰ใˆใฐใ„ใ„ใฎใ‹
02:54 <ukai> ใ‚“ใƒผใจ
02:54 <ukai> ใจใ„ใ†ใ‹
02:54 <ukai>  coding็š„ใซใฏ setlocaleใฎ return value ใ‚’่ฆ‹ใ‚‹ในใ—?
02:55 <gotomium> ใใ†ใชใ‚Šใพใ™ใญ
02:55 <ukai>  dir/file ใ‚’ใ‚คใƒณใ‚นใƒˆใƒผใƒซใ™ใ‚‹ๆ™‚ใซใฏ glibc ใฎ canonical name ใงใ‚„ใ‚‹ในใ—?
02:55 <gotomium> ใงใ™ใญใ‡
02:55 <ukai> ใงใ™ใ‹ใญ
02:55 <gotomium> ใธใ„
02:55 >HANZUBON< ใตใ‚€
02:55 <gotomium> ใงใ‚‚ ใใฎ glibc ใฎ canonical name ใŒ
02:55 <gotomium> ๆญฃใ—ใ„ใฎใ‹? ใจใ„ใ†็–‘ๅ•ใŒโ€ฆ
02:55 <gotomium> solaris ใฏๅŒบๅˆฅใ—ใกใ‚ƒใ†ใ‚‰ใ—ใ„ใฎใง > eucjp vs eucJP
02:56 <gotomium> ใ‚ขใƒ—ใƒชใ‚ฑใƒผใ‚ทใƒงใƒณใฏ ใ‚ใ‚‰ใ‚†ใ‚‹ OS ใงๅ‹•ใใ‚ˆใ†ใซ่€ƒใˆใ‚‰ใ‚Œใฆใ„ใ‚‹ใจใ™ใ‚Œใฐ
02:56 <ukai> ใ†ใ†ใ‚€
02:56 <ukai> ใจใ„ใ†ใ‹
02:56 <gotomium> setlocale ใฎ return value ใŒไธ€็•ช่‰ฏใ„?
02:56 <ukai> locale(1)ใŒ canonical name ใ‚’ใ‹ใˆใ—ใฆใ“ใชใ„ใฎใŒใ‚ขใƒฌใชใฎใ‹ใ‚‚
02:57 <ukai> ใฉใ†ใ™ใ‚‹ใฎใŒใ„ใ„ใ‹ใช
02:57 >HANZUBON< locale ใŒ canonical name ใ‚’่ฟ”ใ™ใ‚ˆใ†ใซใ™ใ‚‹ ?
02:57 <gotomium> ใƒ 
02:57 >HANZUBON< locale(1)
02:57 <ukai> coding็š„ใซ setlocale ใฎ return value ใฏๅฝ“็„ถใงใฏ?
02:57 <gotomium> ใ„ใ‚„
02:58 <gotomium> gettext ใฏๆ˜”ใฏ ็’ฐๅขƒๅค‰ๆ•ฐใ‹ใ‚‰ๅ–ๅพ—ใ—ใฆใ„ใŸ
02:58 <gotomium> ใ ใ‹ใ‚‰ glibc 2.1.3 ใ ใจ eucJP ใซใชใ‚‹
02:58 <gotomium> ใฟใŸใ„ใฃใ™
02:58 <ukai> ใ‚€
02:58 <ukai> 2.1.3ใฏ setlocaleใงใ‚‚eucJP ใ ใ‚ˆ?
02:58 <gotomium> ใ†ใ„
02:59 <ukai> ใใฎใ€Œใ ใ‹ใ‚‰ใ€ใฏใƒŠใƒ‹?
02:59 <gotomium> ใใ‚Œใจใฏ ๅˆฅใซใ†ใ”ใ„ใฆใ„ใ‚‹ใฃใ™
02:59 <gotomium> gettext ใฏ
02:59 <gotomium> setlocale ใจใฏ
02:59 <gotomium> ๅˆฅใฎใƒกใ‚ซใƒ‹ใ‚บใƒ ใงๅ‹•ใ„ใฆใ„ใŸใฃใ™
03:00 <gotomium> ไปŠใฏ setlocale ใฎใƒกใ‚ซใƒ‹ใ‚บใƒ ใ‚’ๅธๅŽใ—ใŸใ‚ฎใƒŸ
03:00 <gotomium> > glibc-2.1.95 gettext
03:00 <gotomium> ใ†ใƒผใ‚€ ใชใ‚“ใ‹ๆททไนฑใ—ใฆใ‚‹ใช > ๆ–‡็ซ 
03:01 <ukai> manใจใ‹ Xresourceใฎ file ใ‚’ installใ™ใ‚‹ๆ™‚ใŒๅ•้กŒใ ใชใ
03:03 >HANZUBON< ใ‚ณใƒžใƒณใƒ‰ใง canonical name ใ‚’ๅ–ๅพ—ใ™ใ‚‹ๆ–นๆณ•ใŒใปใ—ใ’?
03:03 >HANZUBON< ใฃใฆ ใ™ใๆ›ธใ‘ใใ†ใงใฏใ‚ใ‚‹ใ‘ใฉใ€‚
03:03 <gotomium> definition of locale(1) in unix98> The locale utility writes information about the current locale environment, or all public locales, to the standard output. For the purposes of this section, a public locale is one provided by the implementation that is accessible to the application. 
03:03 <gotomium> accessible ใจใ„ใ†ใ“ใจใฏ 
03:03 <gotomium> eucjp ?
03:05 <ukai> ใ‚“ใƒผ
03:07 <gotomium> u-mu
03:08 <gotomium> locale -a ใง ja_JP.EUC-JP ใจใ‹ใŒๅธฐใฃใฆใใฆใ‚‚ euc-jp ใจใฏใชใ‚‰ใชใ„ใช
03:09 <gotomium> ใจใ„ใ†ใ‹ locale -m ใงใ‚ญใƒฃใƒฉใ‚ฏใ‚ฟใƒžใƒƒใƒ—ใŒ ๅคงๆ–‡ๅญ—ใฎใพใพใ 
03:09 <gotomium> ใชใ‚“ใ‹็Ÿ›็›พใ—ใฆใ‚‹ใชใƒผ
03:09 <ukai> ใใ‚Œใฏ ๅคงๆ–‡ๅญ—ใชใ‚“ใ˜ใ‚ƒใชใ„ใ‚“ใ™ใ‹?
03:10 <ukai> ใƒ 
03:10 <ukai> locale: cannot read character map directory `/usr/share/i18n/charmaps': No such file or directory
03:10 <ukai> bug?
03:10 <gotomium> ใ‚€
03:11 <gotomium> debian ใฎ glibc ใŒใ‚ขใƒฌใ‹ใ‚‚
03:11 >HANZUBON< ใ‚ใ‚Œใ 
03:11 >HANZUBON< i18ndata ใซ /usr/share/i18n/charmaps
03:11 <ukai> ใ‚€
03:11 >HANZUBON< ใŒๅ…ฅใฃใฆใ‚‹
03:11 <ukai> ใ‚€
03:11 >HANZUBON< node
03:11 <gotomium> ใจใ„ใ†ใ‹ ๆ—ฅๆœฌใฎ locale ๆŒ‡้‡
03:11 >HANZUBON< ใฎใง locale(1) ใŒ libc6 ใซๅ…ฅใฃใฆใ‚‹ใชใ‚‰
03:12 >HANZUBON< libc6 Depends: i18ndate ?
03:12 >HANZUBON< ใจใ„ใ†ใฐใใงใ™ใ‹ใญใ€‚
03:12 <gotomium> FHS ใซๅพ“ใ†ใ‚ˆใ†ใซ case insensive & lower case ใซ็ตฑไธ€ใ™ใ‚‹ใ‹ใญ
03:12 <ukai> recommends? 
03:12 <gotomium> recommends ใงใ™ใญ
03:12 >HANZUBON< recommends ใ‹
03:12 <ukai> ๅฟ…้ ˆใ˜ใ‚ƒใชใ„ใงใ—ใ‚‡
03:12 >HANZUBON< ใตใ‚€
03:12 >HANZUBON< ๆŠ•ใ’ใจใใ‹
03:12 <gotomium> ใ†ใƒผใ‚€ fhs ใจ libc-alpha ใซ่ชฟๆŸปใƒกใƒผใƒซใ—ใฆใฟใ‚‹ใ‹ใชใ
03:13 <ukai> ใชใ’ใจใ?
03:13 >HANZUBON< BTS ใซ
03:13 >HANZUBON<  > ใชใ’ใจใ
03:13 <ukai> ใ˜ใ‚ƒใ ใŠใพใ‹ใ›
03:13 >HANZUBON< ใ†ใ„
03:14 <ukai> ใตใซใ‚…ใ€œ
03:21 <gotomium> ใ‚ใ‚Œ?
03:21 <gotomium> setlocale ใงใฏใญใ‹ใˆใฃใฆใใŸใฎใŒ eucjp ?
03:21 <ukai> ใใ† 2.1.95
03:21 <gotomium> ใƒ 
03:21 <gotomium> ใชใ‚“ใ‹ eucJP ใงๆˆปใฃใฆใใŸโ€ฆ
03:21 <gotomium> ๅคใ„ใฎใ‹ใช
03:21 <gotomium> ๅ† build ใ—ใฆใฟใ‚ˆใ†
03:21 <ukai> 2.1.3ใฏ eucJP
03:22 <gotomium> lrwxrwxrwx   1 root     root           14 Oct 13 11:39 libc.so.6 -> libc-2.1.95.so
03:22 <gotomium> ใชใ‚“ใ ใ‘ใฉใชใโ€ฆ
03:22 <ukai> #include <stdio.h>\n#include <locale.h>\nmain() { printf("%s\n", setlocale(LC_ALL, "")); }
03:23 <gotomium> eucJP ใŒใ‹ใˆใฃใฆใใŸ
03:23 <gotomium> ใ†ใƒผใ‚“ใจ
03:24 <gotomium> ๆ˜Žๆ—ฅ debian glibc 2.1.95 ใ‚’ check ใ—ใพใ™ใญ
03:24 <ukai> ใ‚€
03:24 <gotomium> ใ‚‚ใ—ใ‹ใ—ใŸใ‚‰ debian ใฎใŒๅคใ„ใฎใ‹ใ‚‚ ใจใ„ใ†ใ‹ cvs ใ‚’ใƒใ‚งใƒƒใ‚ฏใ—ใฆใฟใ‚ˆใ†
03:24 <ukai> ใ‚€
03:24 <ukai> /usr/lib/locale/ja_JP.eucjp ใ ใ‹ใ‚‰?
03:25 <gotomium> ใƒ 
03:25 <gotomium> ใกใ‚‡ใฃใจ eucJP ใ‚’ใ‘ใ—ใฆใฟใ‚ˆใ†
03:25 <ukai> eucJP ใซ mv ใ—ใŸใ‚‰ eucJP ใŒใ‹ใˆใฃใฆใใŸ
03:25 <ukai> ใ‚ใ‚‹ๆ„ๅ‘ณๆญฃใ—ใ„ๆŒฏ่ˆžใ„?
03:25 <gotomium> ใƒ”ใƒณใƒใƒผใƒณ!
03:25 <gotomium> ๅคงๆญฃ่งฃ
03:25 <gotomium> ใใ†ใ™ใญ
03:26 <gotomium> ใ•ใƒผใฆ ใฉใ†ใ—ใพใ—ใ‚‡ใ†ใ‹ใ€‚
03:26 <gotomium> ใฉใ†ใ‚„ใ‚‰ /usr/lib/locale ใฎ ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชๅใ‚’ใฟใฆใพใ™ใญ
03:26 <ukai> locale(1)ใŒใใ†ใชใ‚‰ใชใ„ใฎใฏใชใœใงใ—ใ‚‡ใ†?
03:26 <gotomium> ใ†ใƒผใ‚€
03:26 <gotomium> ใŸใ ็’ฐๅขƒๅค‰ๆ•ฐใ‚’ใฟใฆใ‚‹?
03:26 <gotomium> ใƒใ‚ฐ?
03:26 <gotomium> ใŸใ ็’ฐๅขƒๅค‰ๆ•ฐใ‚’ใฟใฆใ„ใ‚‹ใ‹ใ‚‰ใ‹ใชใ
03:27 >HANZUBON< ใ‚“?
03:28 <gotomium> ใˆใƒผใจ ใ‚‚ใ†ไธ€ๅ›žใพใจใ‚ใ‚‹ใจ
03:28 <gotomium> * LANG ใชใ‚Š้ฉๅฝ“ใช็’ฐๅขƒๅค‰ๆ•ฐใฎ codeset ใซ ๅคงๆ–‡ๅญ—ใŒใพใ–ใฃใŸใจใใซใคใ„ใฆ
03:28 <gotomium> ๅ•้กŒใŒใŠใ“ใ‚‹ใ‚“ใ ใช
03:29 <gotomium> * ใ‚“ใง glibc ใฏ /usr/lib/locale/ ใฎ eucJP -> eucjp ใ‚’่ฆ‹ใ‚‹
03:29 <gotomium> * ใ“ใฎใจใใ‚ฒใƒƒใƒˆใงใใŸๅๅ‰ใ‚’ setlocale ใŒ่ฟ”ใ™
03:30 <gotomium> * X ใฏๆญฃ็›ดใซ ใใฎๅๅ‰ใ‚’ไฝฟใ†
03:30 <gotomium> * ใƒฆใƒผใ‚ถใซใฏ eucJP ใ‚’ๆœŸๅพ…ใ—ใฆใ„ใŸใฎใซ eucjp ใŒๅ‡บใฆใใ‚‹
03:30 <gotomium> ใคใพใ‚Š /usr/lib/locale ใฎๅๅ‰ใซ canonical name ใจ้€š็งฐๅใฎไธกๆ–นใŒๅฟ…่ฆ
03:31 <gotomium> ใจใ„ใ†ใ“ใจใ‹?
03:31 <gotomium> ใพใ‚ ใ„ใ„ใ‚„ ใƒใƒซใ‹
03:32 <ukai> ใƒŠใƒŒ
03:32 >HANZUBON< ใ‚€ ไบบใซๅฏใ‚‹ใชใจใ„ใฃใจใ„ใฆ
03:32 >HANZUBON< ๅ…ˆใซๅฏใ‚‹ๆฐ—ใ‹!!
03:32 <gotomium> ใ†ใฒ
03:32 >HANZUBON< (ใ‚ใ‚‰
03:32 <ukai> perl -e 'use POSIX; print setlocale(LC_ALL, "")'
03:32 <ukai> ใ‹ใชใ
03:32 <gotomium> ใ‚€
03:33 >HANZUBON< <gotomium> ใคใพใ‚Š /usr/lib/locale ใฎๅๅ‰ใซ canonical name ใจ้€š็งฐๅใฎไธกๆ–นใŒๅฟ…่ฆ
03:33 >HANZUBON< ใจใ„ใ†ใ‹ canonical name ใ ใ‘ใงใ‚‚ใ„ใ„ใ‘ใฉ
03:33 >HANZUBON< ้€š็งฐใ‚’ ใ‚ขใƒฌใ™ใ‚‹ใƒŠใƒ‹ใŒ
03:33 >HANZUBON< ใฒใคใ‚ˆใ†?
03:34 >HANZUBON< ใฃใฆ ๆ„ๅ‘ณใ‚ใ‹ใ‚‰ใ‚“ใ›ใคใ‚ใ„ใ™ใ‚‹ใช > ใŠใ‚Œ
03:34 <gotomium> ใ‚ขใƒฌใ™ใ‚‹ใฎใฏ glibc ๅ†…้ƒจใฃใฆใ“ใจใ™ใ‹?
03:34 <ukai> perl -MPOSIX -e 'print setlocale(LC_ALL, "")' ใ‹
03:34 <ukai> ใ‚ใพใ‚Šใ‹ใ‚ใ‚‰ใ‚“ใช
03:34 <gotomium> ใƒฆใƒผใ‚ถใŒ ็”จๆ„ใ—ใชใ‘ใ‚Œใฐใชใ‚‰ใชใ„ใฎใ‹ใชใ
03:34 >HANZUBON< glibc ใฎไธญใ‹ใช
03:35 <gotomium> ใ†ใƒผใ‚€
03:35 >HANZUBON< ใ†ใƒผใƒผใ‚“
03:35 <gotomium> eucjp ใจ eucJP ใ‚’ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใจใ—ใฆ็”จๆ„ใ™ใ‚‹ใฎใŒ่‰ฏใ„ใจใชใ‚‹ใจ
03:35 <gotomium> ใ‚ใ‚‰ใ‚†ใ‚‹ UTF-8 directory ใฏ utf-8, UTF-8 ใฎไธกๆ–นใŒๅฟ…่ฆใซใชใ‚Šใพใ™ใญ
03:36 <gotomium> ใใ†ใ˜ใ‚ƒใชใ„ใชใ‚‰ setlocale() ใง่ฟ”ใ™ๆ–‡ๅญ—ๅˆ—ใงใ€
03:36 >HANZUBON< ใจใ„ใ†ใ‹ ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชๅใ‚’
03:36 >HANZUBON< ่ฟ”ใ™ใฎใŒ
03:36 <ukai> ใ‚€
03:36 >HANZUBON< ใƒŠใƒ‹ใชๆฐ—ใŒใ—ใฆใใŸใ€‚
03:36 >HANZUBON<  > setlocale()
03:36 <gotomium> ใ„ใ‚„ ใใ‚Œใฏ้•ใ†ใฃใ™
03:36 >HANZUBON< ใ‚€
03:36 <gotomium> ใ‚‚ใ— codeset ใง่ฟ”ใ™ใชใ‚‰ EUC-JP ใŒ canonical name ใจใ—ใฆๆˆปใฃใฆใใ‚‹ใฏใš
03:37 <gotomium> ใจใ„ใ†ใ‹ ใ‚ขใƒฌใ‹
03:37 >HANZUBON< ใ‚“ใƒผ
03:37 <gotomium> ็ตๅฑ€ eucJP -> eucjp ใ‚’ใ‚ตใƒผใƒใ—ใฆ
03:37 <ukai> locale-ja ใ‚’ ln -s /usr/lib/locale/ja_JP.eucjp /usr/lib/locale/ja_JP.eucJP ใชใƒ‘ใƒƒใ‚ฑใƒผใ‚ธใซใ—ใฆใŠใใจใ‹
03:37 <ukai> (ใƒฏใƒฉ
03:37 >HANZUBON< ใฒใฒใฒ
03:37 <gotomium> ใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใŒ่ฆ‹ใคใ‹ใฃใŸใ‚‰ eucJP ใ‚’ setlocale() ใŒ return ?
03:37 <ukai> ad-hoc solutionใ‚นใ‚ฎ
03:38 >HANZUBON< Debian ็š„ใซใฏใใ‚Œใง Go! (ใ‚ใ‚‰ > ad-hoc solution
03:39 <gotomium> EucJP ใŒไธŽใˆใ‚‰ใ‚Œใฆใ„ใŸๅ ดๅˆใซ eucjp ใงใƒ‡ใ‚ฃใƒฌใ‚ฏใƒˆใƒชใ‚’็™บ่ฆ‹ใ—ใŸๅ ดๅˆ
03:39 <gotomium> EucJP ใŒ return ใ™ใ‚‹ใฎใฏๆญฃใ—ใ„ใฎใ‹ใช
03:39 <ukai> eucjp ใงใฏ?
03:39 <gotomium> ใฉใ†ใ—ใฆใฃใ™ใ‹
03:40 <gotomium> ใจใ„ใ†ใ‹ ใจใ‚Šใ‚ใˆใš ใƒ‘ใƒƒใƒใ‚’ไฝœใฃใฆ Uli ใจ่ญฐ่ซ–ใ—ใŸๆ–นใŒๆ—ฉใ„ใช
03:40 >HANZUBON< '้€š็งฐๅใฎไธกๆ–นใŒๅฟ…่ฆ' ใฃใฆ ใ“ใฎ ้€š็งฐๅใ‚’
03:40 <gotomium> ใ‚ใจใฏ fhs ใฎไบบใ‹
03:40 >HANZUBON< ใชใ‚“ใ‹ ่ฆๅฎšใ›ใซใ‚ƒ
03:40 >HANZUBON< ใชใ‚‰ใ‚“ใใŒใ€‚
03:41 <gotomium> ใ‚€
03:41 >HANZUBON< ้€š็งฐๅใ‚’ ใชใ‚“ใ‹ๅฎš็พฉใ—ใฆ ใใ‚Œใ‚’ libc6 ใŒ
03:41 <gotomium> eucJP ใฏ opengroup ใŒ่ฆๅฎš ใ˜ใ‚ƒๅผฑใ„ใ‹ใซใ‚ƒใƒผ
03:41 >HANZUBON< ็Ÿฅใฃใฆใ‚Œใฐ
03:41 >HANZUBON< ไพ‹ใˆใฐ eucJP ใฏใ„ใ„ใ‘ใฉ EucJP ใฏใƒ€ใƒก
03:41 >HANZUBON< ็š„ใชๅˆคๆ–ญใงใใ‚‹็š„?
03:42 <ukai> validใช localeๅใฎ tableใคใใ‚‹ใ—ใ‹ใชใ„ใซใ‚ƒใƒผ
03:42 >HANZUBON< ใใ†ๆ€ใฃใŸ > table ใคใใ‚‹ใ—ใ‹
03:44 <gotomium> ใ†ใƒผใ‚“
03:44 <gotomium> ้›ฃใ—ใ„ใช
03:44 <gotomium> > table
03:44 <gotomium> ไฝ™่จˆใ‚„ใ‚„ใ“ใ—ใใชใ„ใ™ใ‹?
03:44 >HANZUBON< ใ‚„ใ‚„ใ“ใ—ใ„(ใ‚ใ‚‰
03:44 <gotomium> eucJP ใจ eucjp ใฏ ไธกๆ–น valid ใชๅ ดๅˆ
03:45 <ukai> ja_JP.eucjp ใซ็ตฑไธ€ใ™ใ‚‹ๆ–นใŒใ„ใ„ใจๆ€ใฃใฆใ‚‹ใ‘ใฉ
03:45 <gotomium> eucJP ใŒใ‹ใˆใฃใฆใ‚‚ใƒจใ‚ท 
03:45 <gotomium> ใจใ‹
03:45 <gotomium> ใ‚€
03:45 >HANZUBON< ใใ‚ŒใŒใ„ใ„ๆฐ—ใŒใ—ใฆใใŸใช > ja_JP.eucjp ใง็ตฑไธ€
03:45 <ukai> ็†็”ฑ> ruleใŒ็ฐกๅ˜ใ ใ‹ใ‚‰
03:47 <gotomium> zh_CN.GB2312 ใฏ
03:47 <gotomium> zh_CN.gb2312 ?
03:47 <ukai> ใใ†
03:47 <gotomium> ใจใ„ใ†ใ‹ FHS ใซใฎใฃใจใ‚‹ใ€ใจใ„ใ†ใ“ใจใ‹
03:47 <gotomium> ๆ—ฅๆœฌ่ชž locale ๆŒ‡้‡ใซๅใ—ใพใ™ใ‚ˆ? (ใƒฏใƒฉ
03:48 <gotomium> ใ†ใƒผใ‚€
03:48 <gotomium> ็ตๅฑ€ใจใฉใฎใคใพใ‚Š ไฝ•ใŒๅ•้กŒใ‹ใจใ„ใ†ใจ
03:48 <gotomium> FHS ใซ man ใฎ codeset ๅใซ
03:49 <gotomium> ๅฐๆ–‡ๅญ—ใ‚’ใคใ‹ใˆใ€ใจใ‹ใ„ใฆใ‚ใ‚‹ใ“ใจใ‹ใญ
03:51 <gotomium> ใคใƒผใ‹ ใ—ใ‚‡ใ†ใŒใชใ„ใฎใง fhs ใซๅฎš็พฉใ‚’่žใ„ใฆใฟใ‚‹ใ“ใจใซใ™ใ‚‹
03:51 <gotomium> > The <character-set> field should represent the standard describing the character set.  If the <character-set> field is just a numeric specification, the number represents the number of the international standard describing the character set.  It is recommended that this be a numeric representation if possible (ISO standards, especially), not include additional punctuation symbols, and that any letters be in lowercase.
03:51 <gotomium> in lowercase ใงใ‚ใ‚‹็†็”ฑใฏ? ใจใ„ใ†ใ“ใจใงใ€‚
03:52 >HANZUBON< ใตใ‚€
04:49 <gotomium> ใตใƒผ
04:49 <gotomium> quinlan ใจ rik faith ใซใƒกใƒผใƒซใ—ใฆใฟใŸ
04:49 <gotomium> > fhs
04:50 <gotomium> ใจใ‚Šใ‚ใˆใš fhs ใซๅพ“ใฃใฆๅฐๆ–‡ๅญ—ใงใ„ใใพใ™ใ‹ใญใ€‚
04:50 <gotomium> ใถ ใ‚‚ใ†5ๆ™‚ใ˜ใ‚ƒใ‚“

-- 
ใ„ใ—ใ‹ใ‚ ใ‚€ใคใฟ
 <ishikawa@xxxxxxxxxxx>, <ishikawa@debian.org>, <ishikawa@xxxxxxxxxx>