LinuxQuestions.org
Visit Jeremy's Blog.
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-24-2012, 02:03 PM   #1
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Rep: Reputation: 16
special characters problem only with Skype [SOLVED]


Hi all,

Recently I messed up my Slackware box at work and had to reinstall. I took the opportunity to go pure 64-bit, instead the usual AlienBob's multilib system (great work, by the way!). All seems OK or is quite easy to handle, but as the subject states I have problem displaying special characters (, , , , etc.) only on Skype, which was downloaded and built using the Slackbuild from Slacky which can be obtained here (another great job too!).

I am a Brazilian native and special characters are quite important in my daily communication, so this problem is quite annoying as all of them appears as �...

I've also tried this question at ##slackware and someone there asked me to try Dugan Chen's font rendering guide, which I use regularly and did not solve the issue.

I've run out of ideas. Can anybody throw me a light here? I'll be happy to provide whatever information should be necessary.

Thanks in advance,
gtludwig

Last edited by gtludwig; 03-12-2012 at 07:13 AM. Reason: solved
 
Old 02-24-2012, 06:17 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,552

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I think the problem lies in the UTF-8 locale support

there's a lot of threat in this forum discussing about how to change the default locale to UTF-8, but for a start, try looking at
Code:
/etc/profile.d/lang.sh
 
Old 02-27-2012, 03:18 AM   #3
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
That is a fascinating Skype package / build, have many people tried this approach out rather than a full mulilib approach?
 
Old 02-27-2012, 05:35 AM   #4
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Original Poster
Rep: Reputation: 16
Hi, I couldn't reach the Slackware box during the weekend.

@willysr,
my /etc/profile.d/lang.sh file is as follows.

Code:
#!/bin/sh
# Set the system locale.  (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
#   locale -a

# en_US is the Slackware default locale:
#export LANG=en_US

# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968.  These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#export LANG=C

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
export LANG=en_US.UTF-8

# Another option for en_US:
#export LANG=en_US.ISO8859-1

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=C

# End of /etc/profile.d/lang.sh
I can confirm the default locale to be UTF-8 by doing this:
Code:
root@cpc-5564:/home/gtl# set | grep LANG
LANG=en_US.UTF-8
@andrew.46,
I thought the exact same thing about this package / build. Since I had the opportunity, I ran the Slackbuild script.

@all,
Still I get the inconvenient question mark...
Before having the problem that led me to reinstalling I had built the same script and it worked as should, with all characters properly displayed (no question marks!).
 
Old 03-12-2012, 01:44 AM   #5
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
Finally got my 'pure' 64bit slackware -current running and while I cannot help out with your character display problem I can thank you again for the link to that brilliant Skype slackbuild. Works beautifully .
 
Old 03-12-2012, 07:12 AM   #6
gtludwig
Member
 
Registered: Oct 2005
Location: Brazil
Distribution: Slackware64-current
Posts: 221

Original Poster
Rep: Reputation: 16
Hi all,
I got the problem solved and forgot to close this thread.
The way to solve this issue (for both mine future reference or other users that may experience this!) is here:
http://www.slacky.eu/forum/viewtopic...315865#p315865

enjoy! =D
 
Old 06-15-2012, 01:22 AM   #7
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
Hmmmm.... can't modify this script to run skype 4 . Anybody else with success?
 
Old 06-15-2012, 02:44 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 2,552

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
i have SlackBuild script for Skype 4 on my Slackhacks
 
Old 06-15-2012, 03:15 AM   #9
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
Quote:
Originally Posted by willysr View Post
i have SlackBuild script for Skype 4 on my Slackhacks
I saw, thanks for that . However the slacky.eu script for 64bit does a nice 'mini-installation' of 32bit libraries for skype to link against which is exactly what I am after (rather than use a full multilib setup). I shall keep pottering around with it.....

Edit: All is well, I version-bumped a more recent script and version 4 is up and running

Last edited by andrew.46; 06-15-2012 at 04:01 AM.
 
Old 06-17-2012, 01:31 AM   #10
astanton
Member
 
Registered: Nov 2010
Distribution: Slackware64 -current
Posts: 82

Rep: Reputation: 5
Quote:
Originally Posted by andrew.46 View Post
I saw, thanks for that . However the slacky.eu script for 64bit does a nice 'mini-installation' of 32bit libraries for skype to link against which is exactly what I am after (rather than use a full multilib setup). I shall keep pottering around with it.....

Edit: All is well, I version-bumped a more recent script and version 4 is up and running
I'm not sure what you mean by that. I'll guess that what you did was install the static 2.2 from slacky.eu in order to use on a pure 64 bit system., then used Willy's slackbuild to install the latest version over that? If so, did you set his script to static?

If not, what were the steps you followed?
 
Old 06-17-2012, 01:54 AM   #11
andrew.46
Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 646

Rep: Reputation: 90
Sorry, on re-reading I can see that I have been less than clear . On current I am using this:

http://www.z01.eu/repo-slack/slackwa...pe_static/src/

which has just been updated for the latest Skype. I am using a 64bit without alienBOB's multilib setup, this slackbuild downloads just the required 32bit libs for Skype and tucks them in /usr/share/skype/lib32. Handy if the only use you have for 32bit libraries is to keep Skype happy...
 
Old 06-17-2012, 03:50 AM   #12
astanton
Member
 
Registered: Nov 2010
Distribution: Slackware64 -current
Posts: 82

Rep: Reputation: 5
Talking

Thanks! I read the Slackbuild and understand now. I'm not sure if I need to make the symlinks for this to work but either way I'm upgrading now
 
  


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
Special characters problem MartinZ Suse/Novell 5 07-12-2011 09:21 PM
KDE: File Names with special characters problem gookank Linux - General 2 02-23-2010 01:50 PM
Suse 9.1 prof, special characters problem klodoma Linux - Newbie 1 09-25-2005 10:01 AM
cups problem - special characters kentri9 Linux - Software 2 02-23-2005 04:08 AM
grep problem in extracting special characters imppayel Programming 8 12-02-2004 07:28 AM


All times are GMT -5. The time now is 01:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration