Skip to content
Tuesday 1 July 2025
Pasang Iklan
Blogging Resources
About
TeknoHere.com TeknoHere.com
  • Home
  • Internet & Web
  • Komputer
  • Gadget
  • SEO
  • Bisnis
  • Kontes
  • Selingan
  • Review
  • Berita

Memperbaiki Masalah “perl: warning: Setting locale failed”

 Memperbaiki Masalah “perl: warning: Setting locale failed”
error message
Komputer

Memperbaiki Masalah “perl: warning: Setting locale failed”

by admin 12 March 2015

Artikel ini memberikan cara mudah untuk menghapus atau memperbaiki peringatan yang mengganggu saat menjalankan perl di Linux. Jika saat kamu menjalankan service tertentu yang juga memerlukan untuk menjalankan perl dan muncul error seperti ini:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LC_CTYPE = "UTF-8",
 LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Solusinya adalah:

Pada direktori home kamu:

1. Edit user bash_profile kamu.

vi .bash_profile

2. Tambahkan kode berikut di dalamnya.

export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

3. Reload bash_profile kamu.

. ~/.bash_profile

Selesai. Semoga membantu 😉

Share This:

  • 0
    Share
    Facebook
  • 0
    Share
    Twitter
  • 0
    Share
    LinkedIn
  • 0
    Share
    Pinterest
  • 0
    Share
    Skype
Tags: perl server vps
Previous post
Next post

Leave a Reply

Your email address will not be published. Required fields are marked *

TeknoHere.com TeknoHere.com
app_store
google_play
About Us
Work With Us
Blogging Resources
Contact
Disclaimer
Privacy Policy
Terms of Use
Copyright 2025. All Right Reserved