View previous topic :: View next topic |
Author |
Message |
numberlessusername n00b
Joined: 29 Dec 2011 Posts: 20
|
Posted: Tue Jul 31, 2012 4:36 am Post subject: [SOLVED] ironically enough, urxvt isn't displaying unicode |
|
|
or something? I can copypaste unicode characters into chromium just fine but they all appear as question marks in urxvt. xterm also shows them just fine. ☭☭☭
any ideas?
Last edited by numberlessusername on Wed Aug 01, 2012 4:20 am; edited 1 time in total |
|
Back to top |
|
|
gorkypl Guru
Joined: 04 Oct 2010 Posts: 444 Location: Kraków, PL
|
Posted: Tue Jul 31, 2012 7:32 am Post subject: |
|
|
How have you configured urxvt? Also please paste the result of 'emerge --info' and 'emerge -pqv rxvt-unicode'. _________________ BTW, TWM FTW! |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Tue Jul 31, 2012 11:56 am Post subject: |
|
|
It works for me but I set it to use an Unicode font in Xresources
Code: |
URxvt*font: -Misc-Fixed-Medium-R-Normal--18-120-100-100-C-90-ISO10646-1,\
-Misc-Fixed-Medium-R-Normal-ja-18-120-100-100-C-180-ISO10646-1,\
xft:Bitstream Cyberbit:pixelsize=18
|
|
|
Back to top |
|
|
numberlessusername n00b
Joined: 29 Dec 2011 Posts: 20
|
|
Back to top |
|
|
gorkypl Guru
Joined: 04 Oct 2010 Posts: 444 Location: Kraków, PL
|
Posted: Tue Jul 31, 2012 5:14 pm Post subject: |
|
|
Yes, the font would be also my guess. Notice that for some fonts you will need USE='xft'. _________________ BTW, TWM FTW! |
|
Back to top |
|
|
numberlessusername n00b
Joined: 29 Dec 2011 Posts: 20
|
Posted: Tue Jul 31, 2012 6:37 pm Post subject: |
|
|
well I reemerged rxvt-unicode with the xft flag and copypasted frostschutz's snippet into my file but unicode characters still aren't working. |
|
Back to top |
|
|
gorkypl Guru
Joined: 04 Oct 2010 Posts: 444 Location: Kraków, PL
|
Posted: Tue Jul 31, 2012 7:29 pm Post subject: |
|
|
Have you installed the font that is mentioned in his config? _________________ BTW, TWM FTW! |
|
Back to top |
|
|
numberlessusername n00b
Joined: 29 Dec 2011 Posts: 20
|
Posted: Tue Jul 31, 2012 7:50 pm Post subject: |
|
|
yes I have |
|
Back to top |
|
|
gorkypl Guru
Joined: 04 Oct 2010 Posts: 444 Location: Kraków, PL
|
Posted: Tue Jul 31, 2012 8:13 pm Post subject: |
|
|
Uh, I am not sure he is using a font that you want.
Try starting with Terminus, as it is proved to work reliable.
Code: |
URxvt.font: xft:Terminus:pixelsize=14:antialias=false
URxvt.boldFont: xft:Terminus:bold:pixelsize=14:antialias=false
|
_________________ BTW, TWM FTW! |
|
Back to top |
|
|
numberlessusername n00b
Joined: 29 Dec 2011 Posts: 20
|
Posted: Tue Jul 31, 2012 8:27 pm Post subject: |
|
|
yeah I tried terminus, it still doesn't work. the thing that's confusing me most is why is it working in xterm but not urxvt |
|
Back to top |
|
|
frostschutz Advocate
Joined: 22 Feb 2005 Posts: 2977 Location: Germany
|
Posted: Tue Jul 31, 2012 8:56 pm Post subject: |
|
|
did you start a new urxvt and load the new xresources before you did so?
(xrdb -load file) |
|
Back to top |
|
|
numberlessusername n00b
Joined: 29 Dec 2011 Posts: 20
|
Posted: Tue Jul 31, 2012 9:08 pm Post subject: |
|
|
well I guess some unicode is showing now. things like ‽ and â work but ☭ doesn't, so I guess it's a font thing now. thanks! I just restarted the x server a bunch of times without changing anything and now it works.
EDIT: okay wait new realization
if I open urxvt normally through the window manager with meta+enter then unicode doesn't work. if I launch urxvt from a urxvt window, unicode will work in the upper one. ehhhh.
EDIT AGAIN: okay it works now but I'm not quite sure what I did.
ANOTHER EDIT: in another topic which I imagine had the same issue, they said to include "export LANG=en_US.UTF-8" in .xinitrc. I didn't have that but it sounds reasonable so if anyone with this issue finds this topic through the googlebox or whatever, they can try it. |
|
Back to top |
|
|
|