[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>