LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2015, 06:56 AM   #1
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Rep: Reputation: 68
Slackware and UTF8 shell


I'm just installing a Slack current box and noticed that the old warning about using UTF8 for the shell is still in place during the initial setup:

1. As this warning has been in place since I first started using Slackware, is this still a current issue after all these years?

2. What exactly are the possible problems with using UTF8 in the shell? What is likely to come and bite me in the backside if I use it - in practical terms? I have been selecting UTF8 during the setup on a number of servers over the years and can't say I've noticed any problem - but I also confess to not having much of an understanding of the wider issue.
 
Old 02-13-2015, 07:14 AM   #2
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
I don't think it is an issue. I've always used UTF-8. Other distros use UTF-8 too.
 
Old 02-13-2015, 07:14 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
1. Not a real issue, but I believe that some legacy applications still shipped in Slackware are not able to properly process UTF8-encoded data.

2. Nothing that I am aware of will bite you in the backside as far as I know. Some applications will work better (or at least faster) if you set your locale to C but that generally can be done at time of invoking them, like "LANG=C <application <arguments>. In other cases processing text files through iconv can help.

Unfortunately I do not have a list of applications that need a special care, but maybe this thread could be an occasion to begin one, like: application / issue or drawback / suggested workaround.

I really hope Slackware will use UTF-8 by default in the future but I guess that Pat would need help to do that, as an inventory of all applications that should need some care is yet to be established as far as I know, and then what to do with all these man pages using a legacy encoding...

Last edited by Didier Spaier; 02-13-2015 at 07:17 AM.
 
Old 02-13-2015, 07:23 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Some of the older stuff does have problems with utf-8 sequences. 'elvis' (slackware's default vi implementation) is one of the more obvious ones. The ash shell is another.
 
Old 02-13-2015, 07:24 AM   #5
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
I use UTF8. No issues, just some "cosmetic" annoyances -- the menus of some old GTK1 applications have very big text. I fixed this by starting these programs with custom LANG settings:

https://slackalaxy.wordpress.com/2012/06/10/utf-8/
 
1 members found this post helpful.
Old 02-13-2015, 07:59 AM   #6
xj25vm
Member
 
Registered: Jun 2008
Posts: 393

Original Poster
Rep: Reputation: 68
Thanks all for the replies - just one of those little niggly questions that's been on my mind for a while.

And I think Didier Spaier's idea above is a good one - to list which applications can cause issues with UTF8. It could be useful for any future decision on the mater - I guess.
 
Old 02-15-2015, 10:10 AM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Maybe this is the cause of my issue...

http://www.linuxquestions.org/questi...ue-4175533451/
 
Old 02-17-2015, 10:52 AM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
GhostScript and GhostView are two that will make messy with UTF-8. Only ones I know about, though, and, because I have applications that require UTF-8, I just don't use either GS or GV much any more.
 
Old 02-20-2015, 12:55 PM   #9
bobzilla
Member
 
Registered: Nov 2005
Location: Serbia
Distribution: Slackware
Posts: 231

Rep: Reputation: Disabled
Quote:
Originally Posted by tronayne View Post
GhostScript and GhostView are two that will make messy with UTF-8. Only ones I know about, though, and, because I have applications that require UTF-8, I just don't use either GS or GV much any more.
Might not be ghoscscript or gv themselves. I found that some fonts are incomplete in "ghostscript-fonts-std" packages. Some Cyrillic letters are incomplete.
 
  


Reply



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
[SOLVED] UTF8 Slackware michijo Slackware 3 11-03-2012 05:44 AM
ntfs-3g locale=es_US.utf8 - Not Working Slackware current renecohrt Slackware 4 02-20-2010 07:17 PM
this shell cmd doesn't work : wget 'http://localhost' -O -|iconv -f GB1321 -t UTF8 linuxtyh Linux - General 2 12-02-2008 01:24 AM
adding utf8 support to slackware 10.2 mahdif Slackware 2 09-23-2006 01:44 AM
Unicode(UTF8) support in linux shell uiqbal Linux - General 0 10-20-2005 03:21 AM

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

All times are GMT -5. The time now is 12:25 PM.

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