Ticket #40804

X11のロケールを内部でja_JP.EUC-JPに固定する

Eröffnet am: 2020-09-26 07:12 Letztes Update: 2021-08-17 21:47

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
(Keine)
Meilenstein:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine

Details

X11の実行にはロケールをソースの文字コードと合わせる必要がありますが、現状文字コードはEUC-JP固定なので、プログラム側でロケールをja_JP.EUC-JPに固定するべきです。

Ticket-Verlauf (3/5 Historien)

2020-09-26 07:12 Aktualisiert von: argrath
  • New Ticket "X11のロケールを内部でja_JP.EUC-JPに固定する" created
2021-05-21 04:31 Aktualisiert von: argrath
  • Verantwortlicher Update from (Keine) to argrath
  • Lösung Update from Keine to Gefixt
  • Meilenstein Update from (Keine) to 3.6.6-0.3 (closed)
Kommentar

b76c0a8 で変更しました。

メモ: X11のフォントの基準となるロケールを変更する方法が不明だったのでputenv()で環境変数LANGを固定値に設定することで対応する。

2021-06-08 15:36 Aktualisiert von: rec68k
Kommentar

argrath への返信

b76c0a8 で変更しました。 メモ: X11のフォントの基準となるロケールを変更する方法が不明だったのでputenv()で環境変数LANGを固定値に設定することで対応する。

LANGだとLC_CTYPEやLC_ALLが既に設定されていると負けるので、ロケールを強制するならLC_ALLに設定したほうがよいように思われます。

2021-06-11 02:56 Aktualisiert von: argrath
Kommentar

ありがとうございます。ebfeccdで修正しました。

2021-08-17 21:47 Aktualisiert von: argrath
  • Ticket Close date is changed to 2021-08-17 21:47
  • Status Update from Offen to Geschlossen

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden