LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2010, 04:35 AM   #1
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Rep: Reputation: 33
problem with setting locale


I want to change my LANG variable to be able to read specific program. First I check availabe encodings with locale -a.
There are:
bg_BG.utf8
bg_BG.cp1251
bg_BG.iso88595
bg_BG.koi8r

I try to set every possible of them, but when type locale charmap I get the following error:

Code:
locale charmap
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8
I try also to change LC_MESSAGES and LC_ALL manual with export, but error is the same. Any help?


Edit: I don't have ".profile" file in my home dir. Can be that the problem?

Last edited by konzo; 01-23-2010 at 04:52 AM.
 
Old 01-23-2010, 05:55 AM   #2
konzo
Member
 
Registered: Dec 2008
Location: Bulgaria
Distribution: Debian / Slackware / Ubuntu
Posts: 230

Original Poster
Rep: Reputation: 33
I add in command line:
LC_ALL=bg_BG.UTF-8 wine Diction.exe

and set work path ~/.wine/drive_c/Program\ Files/SA\ Dictionary/

and it works. No need to change locale anymore.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the locale by setting the system default locale letdoit Slackware 6 08-18-2011 03:34 AM
locale setting, problem with en_US.UTF-8 pru Linux - Software 4 04-18-2008 04:07 AM
Strange locale setting problem _Lukes Linux - Newbie 2 12-05-2006 06:14 AM
"perl: warning: Setting locale failed." System wide problem Darek84CJ Debian 3 01-25-2006 05:22 PM
locale setting ’ mnaumanca Linux - Software 0 02-18-2005 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration