LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


View Poll Results: What locale/codeset do you use?
UTF-8 73 85.88%
ISO8859-1 9 10.59%
Other ISO8859-* 2 2.35%
Other 3 3.53%
Multiple Choice Poll. Voters: 85. You may not vote on this poll

Reply
  Search this Thread
Old 08-06-2014, 04:17 AM   #46
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284

I would probably do without utf8, but there are lot of committers on SBo with names containing strange chars and I had to handle those with vim and on the command line
 
Old 08-06-2014, 04:17 AM   #47
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
In other words:
ਅਤੇ ਇਸ ਇਲਾਕੇ ਵਿੱਚ ਬਿੱਲੀਆ ਦੇ ਸਭ ਨੂੰ ਪੰਜਾਬੀ ਬੋਲਦੇ ਹਨ.
No, only a minority.

Last edited by brianL; 08-06-2014 at 04:19 AM.
 
Old 08-06-2014, 04:26 AM   #48
GazL
LQ Veteran
 
Registered: May 2008
Posts: 7,014

Original Poster
Rep: Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143Reputation: 5143
The minority being, "the ones that haven't ended up disembowelled on brian's sacrificial alter during one of his Slackware Release Day divination rituals".
 
Old 08-06-2014, 04:29 AM   #49
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Blog Entries: 61

Rep: Reputation: Disabled
Yeah, I've found Punjabi-speaking cat's entrails give the most accurate results. Not sure why.
 
Old 08-06-2014, 07:43 AM   #50
e5150
Member
 
Registered: Oct 2005
Location: Sweden
Distribution: lackware and alpine
Posts: 135

Rep: Reputation: 104Reputation: 104
I switched to UTF-8 around slackware 12.0. As a maths student I found it much nicer having easy access to chars like: σπΣφθ∫∞√≠→⇔ℝ∃⊆≡⁵⁶, through an elaborate ~/.Xmodmap, than writing pseudo-TeX in e-mail, web forums and such. I also took some evening classes in russian which pretty much sealed the deal for UTF-8.
The only real problem I've had is with *TeX, `pdflatex` from the tetex package worked fine for writing utf8-swedish with the use of "\usepackage[utf8]{inputenc}", but would break on \verb and \lstinputlisting. With XeLaTeX from SBo's texlive I had trouble with russian. Finally setteling on lualatex I still occasionally run into some esoteric problem with mixed languages/scripts.
My $LANG is empty though and LC_MESSAGES set to C, I much prefer having all programs use their deafult language (mostly en_US, I guess), than a mix between non-translated en_US, badly translated sv_SE and properly translated sv_SE. Particularly when dealing with error messages. I also have LC_COLLATE and LC_NUMERING set to C, collation for the reason ttk mentioned in post #6, and numeric to avoid the clash between the swedish comma-as-decimal-mark and programming languages' period-as-decimal-mark.
 
Old 08-06-2014, 07:49 AM   #51
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
UTF8 is good. sometimes i work with old cyrillic codepages ( russian lang) - cp866 (DOS cyr cp), win-1251 ( win cyr cp), KOI8-R ( old unix cyr standart), and so on, but i try to convert them all to utf8, for no problems with different cp in future.
most of that fiiles is books in .txt

yes, i encounter some problems in midnight commander tables, when choosed unicode as system default language.
in that case launch mc throught
LANG=C mc
helps

Last edited by WiseDraco; 08-06-2014 at 07:51 AM. Reason: additional
 
Old 08-06-2014, 01:10 PM   #52
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 528

Rep: Reputation: 273Reputation: 273Reputation: 273
locale command

Quote:
Originally Posted by brianL View Post
Code:
bash-4.2$ locale charmap
Thanks for introducing me to this command. Being in the USA and struggling just to figure out one language, I'm mostly ignorant of the wide range of language facilities available in modern computers.

It looks like I guessed correctly when voting and the Slackware default is 8859-1.

EDIT: Thanks to comet.berkeley. I wasn't interested in the quoted portion of post # 41 and missed the content of your post. brianL pointed this out in post 54.

Last edited by TracyTiger; 08-06-2014 at 04:28 PM.
 
Old 08-06-2014, 01:20 PM   #53
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,857
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Quote:
No, that warning has nothing to do with UEFI, everybody gets that when mixing the NVidia driver with framebuffers.
Oh. Well learn something new every day they say. I've only ever seen it on my UEFI machine, must have gotten lucky on my old machine, or maybe something changed in the Nvidia driver or the kernel, or something. Regardless, I can't put vga=normal or anything like that on my kernel line or I just get a black screen, and I've read that problem is an efi problem, on devtalk.nvidia.com unless I misunderstood.
 
Old 08-06-2014, 03:10 PM   #54
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by TracyTiger View Post
Thanks for introducing me to this command. Being in the USA and struggling just to figure out one language, I'm mostly ignorant of the wide range of language facilities available in modern computers.

It looks like I guessed correctly when voting and the Slackware default is 8859-1.
I can't claim credit for it. I got it from here (post #41):
Quote:
Originally Posted by comet.berkeley View Post
Your character set is probably ISO-8859-1, the Slackware default 8-bit ASCII Western Europe character set.

To check which character set you are running use this command:
Code:
$ locale charmap
My output shows: ISO-8859-1
 
Old 08-06-2014, 03:14 PM   #55
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,307
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by mostlyharmless View Post
Oh. Well learn something new every day they say. I've only ever seen it on my UEFI machine, must have gotten lucky on my old machine, or maybe something changed in the Nvidia driver or the kernel, or something. Regardless, I can't put vga=normal or anything like that on my kernel line or I just get a black screen, and I've read that problem is an efi problem, on devtalk.nvidia.com unless I misunderstood.
The black screen must be a UEFI problem, but that warning is an NVidia vs framebuffer problem. Two problems for the price of one.
 
Old 08-06-2014, 09:54 PM   #56
briselec
Member
 
Registered: Jun 2013
Location: Ipswich, Australia
Distribution: Slackware
Posts: 74

Rep: Reputation: Disabled
en_US
because I use mc.
because I spell like an American.
because I've never needed to know another language.
 
Old 08-07-2014, 01:28 AM   #57
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
Quote:
Originally Posted by briselec View Post
en_US
because I use mc.
because I spell like an American.
because I've never needed to know another language.
as any famous character says "what number of languages you know, that times you be a human".
maybe a bit wrong translation, because i'm very bad in english, but i hope, majority understand, what i mean
 
2 members found this post helpful.
Old 08-07-2014, 02:38 AM   #58
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 378

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by e5150 View Post
My $LANG is empty though and LC_MESSAGES set to C, I much prefer having all programs use their deafult language (mostly en_US, I guess), than a mix between non-translated en_US, badly translated sv_SE and properly translated sv_SE. Particularly when dealing with error messages.
Same here regarding LC_MESSAGES, our local computer terminology is just too inconsistent and overall not clear to me. I honestly tried using localized KDE for a few years, but had to revert to English, because it drove me mad trying to find something in System Settings (or any other configuration dialog).
 
Old 08-07-2014, 03:44 AM   #59
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,297
Blog Entries: 24

Rep: Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255
Quote:
Originally Posted by wisedraco View Post
as any famous character says "what number of languages you know, that times you be a human".
Maybe a bit wrong translation, because i'm very bad in english, but i hope, majority understand, what i mean
Я понимаю.
 
Old 08-07-2014, 03:50 AM   #60
WiseDraco
Member
 
Registered: Nov 2006
Location: Europe,Latvia,Riga
Distribution: slackware,slax, OS X, exMandriva
Posts: 591

Rep: Reputation: 73
Quote:
Originally Posted by astrogeek View Post
Я понимаю.
your russian looks far better than my english
long time not receive any mails from you
 
  


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
locale: Cannot Set LC_ALL to default locale: No such file or directory. asym Linux - General 11 10-24-2018 05:54 PM
Locale or run level - cannot open display message konzo Linux - Newbie 5 01-14-2010 04:32 PM
How on Sarge to get adduser+locale let new user run a language root & others don't Frommacau Debian 3 06-28-2006 08:11 AM
locale: Cannot set LC_ALL to default locale: Invalid argument GadgetWiz Mandriva 1 03-31-2006 11:38 PM
Linux box calling a batch script on a windows box to run? Is it possible? joelhop Programming 8 05-17-2004 04:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:14 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
Open Source Consulting | Domain Registration