No utf-8 in urxvt.
Well, I have no idea what the cause is. My locale is fine, I'm using terminus ttf through infinality, which I originally installed to fix font issues I had in my web browser. Everything works great except.. utf-8 in urxvt. I have it fine in xterm. Here's my xresources http://pastebin.com/raw.php?i=rLa4vM7m
Unlike the other users who had this issue, if I run urxvt from inside a terminal I still do not have utf-8.
.. I'm probably doing something retarded
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 2sn554
12 comments
Have you tried this bit from the wiki:
(I've never used urxvt, I ust really like the wiki)
To add to this are you using urxvt in daemon mode? If you made changes to your xresources they could not have been loaded since your daemon is still running.
Deleted before we saved it.
Looking at your .Xresources file I see a few issues that could be the problem. First of all make sure your declarations are case sensitive. In some instances you use urxvt* when you should be using the case sensitive version of URxvt*. You may also want to specify the size as pixelsize instead. It would look like this instead, and modified for your specific size.
Keep in mind that changes in urxvt don't take effect immediately and the .Xresources file needs to be reloaded. This can be done with the command:
This will reload your .Xresources file, but you will still need to start a new instance of urxvt to make sure your changes worked. Lastly, to make any changes permanent and started at boot. Add
to your .xinitrc. I have mine added before my DE loads. While im not using terminus in urxvt, I have no problem loading utf-8 in urxvt. Hopefully this will help.
made changes, still no utf-8, thank you though!
Does changing anything else but font in .Xresources work after running xrdb .Xresources? Such as terminal colors. Also try commenting out the
line. I saw that the output of your locale looked good so it may just be your .Xresources file.
I had an issue very similar to this with urxvt not displaying unicode characters, turns out I had forgotten/missed a line in the wiki and missed creating a file:
I have this file
Hmm... here's the top of my Xresources:
The big differences I see is you have your imLocale quoted, and don't have a termName set. I don't know know if either matter that much, however.
Can you post the output of locale?
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
wtf, the first two don't have quotations, does that make a difference?
I believe I fixed this issue when I had it by adding LANGUAGE=en_US.UTF-8 to /etc/locale.conf and then running locale-gen. However, on my most recent install I did not have this issue, and I'm fairly sure I used the same install steps.