pspp-dev
[Top][All Lists]
Advanced

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

Re: strange problem with non-ascii chars


From: John Darrington
Subject: Re: strange problem with non-ascii chars
Date: Wed, 5 May 2010 19:22:25 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

On Wed, May 05, 2010 at 04:45:08AM -0300, Michel Boaventura wrote:
> Hello,
>
> I've talked about this issue some time ago as a bug which affects only  
> Windows. But now I can reproduce it also on linux.
>
> If I use Linux with a locale which doesn't use utf8, or on Windows  
> (which also doesn't uses utf8) the Type of the variables on
> psppire appears with strange chars. If I run psppire with a utf8  
> charset, the problem disappears.
>
> Its strange that it only affects the type of the variable. Name, label  
> and values works fine on both locales.
>
> with an utf8 locale: http://pspp.michelboaventura.com/files/with.png
> without an utf8 locale: http://pspp.michelboaventura.com/files/without.png

This is definitely a bug.  Try the attached patch.  I've tested it only very 
briefly.


> The same problem happens if I try to open a file with non-ascii chars on  
> its name.
> With non utf8 locales the file just doesn't open. I get a log of errors  
> on terminal like:
> (psppire:19668): Pango-WARNING **: Invalid UTF-8 string passed to  
> pango_layout_set_text()

set the environment variable G_DEBUG to "fatal_warnings".  Then run psppire 
under 
gdb and try to get a stack trace showing how and where that invalid UTF8 string 
occurs.

J'

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.


Attachment: var-sheet-encoding.patch
Description: Text Data

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]