How to change character sets from iso-8859-1 to UTF-8?
I would appreciate the wisdom of some many slackware experts. :D
Now for the problem. I originally started a similar thread on the networking forum only to discover that it is an entirely different issue. Basically, I am trying to print through the printer on my wife's xp box on our lan. I think I have cups and samba set up correctly. However when I tried to print, the cups log shows that I got the following error: Quote:
http://daniel.mateos.cc/ https://bugs.launchpad.net/ubuntu/+s...ys/+bug/203944 So from what I understand, there is a work around. That is to use the utf-8 character set instead of the iso-8859-1 as suggested by this link. How do I change from iso-8859-1 to utf-8? Is it possible to do it only in cups and samba? |
This sounds like stuff that was posted in the CHANGES_AND_HINTS.TXT. Check this out first and let me know if it helps
Quote:
Code:
alias hp-toolbox='LC_ALL=$LANG.UTF8 hp-toolbox' Code:
gpasswd -a user lp |
So how would I do that for cups and samba?
Thanks okos |
Quote:
Code:
LANG=en_US.UTF-8 /usr/sbin/cupsd It would be better if you could simply set this in the cups and samba configs, however. /etc/cups/cupsd.conf, according to man cupsd.conf has Code:
DefaultLanguage locale Similarly, I would poke around man smb.conf and see what you can come up with. |
I tried googiling cups and utf-8, I found that cups can handle many different character sets but have not found anything on setting utf-8 as the default character set.
Quote:
Quote:
Quote:
I am not sure if I am using the command properly but I tried: apropos utf-8 | grep samba and apropos utf-8 | grep smb with zero results. Okos |
Quote:
|
After spending two weeks of evenings trying to resolve the problem without success, I decided just to to do a temporary work around until I am able to get a new printer for myself. :scratch:
I have xp on virtual box. VB enables you to share folders between the two os. I am easily able to move the doc from slack to xp to print on wife's printer through lan. That was a mouth full of words! However, I did learn something crucial. In the past I could not get the HP toolbox to work. There was no one added to the lp group. I add myself to lp and now it works ;) Thanks for your help. okos |
Thanks shadowsnipes,
modifying the rc.samba and rc.cups scripts to tell the daemons LANG=en_US.UTF-8 /usr/sbin/smbd -D and LANG=en_US.UTF-8 /usr/sbin/cupsd, respectively, worked for me. I do not use the HP toolbox, so I can't comment on that. janve |
Quote:
|
All times are GMT -5. The time now is 04:05 PM. |