[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: utf-8 and gnuplot



On Mon, Apr 03, 2006 at 04:20:04PM +0200, Vincent Lefevre wrote:
> On 2006-04-02 22:25:24 -0300, Jakson A. Aquino wrote:
> > You are right: utf-8 is the same as iso-10646! I changed
> > uxterm to use an iso-10646 font and now it's displaying the
> > characters of a lot of new languages. I put in ~/.Xresources:
> 
> You didn't have to change anything: uxterm uses UTF-8 fonts by
> default (unless you changed that previously...).

You guessed correctly! The default xterm font was too small.
So I had changed it before switching to UTF-8. 

> > xterm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
> > 
> > The problem with gnuplot "png terminal" also is solved, but
> > the "x11 terminal" still doesn't work properly with unicode
> > strings.  I guess that this is a problem between gnuplot and
> > the X server, and not a misconfiguration of my system.
> 
> How about gnuplot*font instead of xterm*font?

I'm using gnuplot*font in addition to xterm*font (the same
font in both cases) in my .Xresources, but gnuplot (x11
term) still misinterpret utf-8 strings as iso-8859-1.

> Anyway, this is not the user's job to choose the right font encoding.
> The bug is in the default settings, and these settings should work in
> any locale.

I agree, and I use the default Debian configuration for most
things, but the Debian default charset is ISO-8859-1. Since
I decided to switch to utf-8, I had to reconfigure some
things (this is my home desktop).

Regards,

-- 
Jakson A. Aquino
http://distante.dyndns.org:8280/



Reply to: