Debian: locale

From OnnoWiki
Jump to navigation Jump to search

Di komputer lokal saya lakukan

sudo nano /etc/default/locale

dan menghapus semua konten didalamnya, kecuali baris berikut, (tambahkan jika tidak ada)

# File generated by update-locale
LANG=en_US.UTF-8

Kemudian

export LC_ALL="en_US.UTF-8"

Di server juga saya lakukan hal yang sama

export LC_ALL="en_US.UTF-8"

Saya kembali mengecek

locale

hasilnya, baik di komputer lokal dan server sama

LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

Masalah teratasi.