gnupic: Re: [gnupic] Gtk-CRITICAL in GUI gpsim


Previous by date: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] pkp can't find pport, Gibaud Alain
Next by date: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] Gtk-CRITICAL in GUI gpsim, Scott Dattalo
Previous in thread: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] Gtk-CRITICAL in GUI gpsim, Nestor A. Marchesini
Next in thread: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] Gtk-CRITICAL in GUI gpsim, Scott Dattalo

Subject: Re: [gnupic] Gtk-CRITICAL in GUI gpsim
From: "Nestor A. Marchesini" ####@####.####
Date: 7 Dec 2006 00:05:20 +0000
Message-Id: <45775AC7.8010907@xinet.com.ar>

Whereas in commentaries it is not a problem to use characters UTF-8 it is
not possible to use characters that know that they have two bytes in UTF-8
together with the nemónicos..
My problem was on having tried to use:

  movlw A'Ñ'
  xorwf ReceiveRS232,W
  skpnz
  goto  AreEquals
  ...

The Ñ capital letter codified in UTF-8 has two bytes (H'C3'H'D1')
and codified in ISO-8859-1 has a byte alone (H'D1'), my code was
not walking since me the byte was never coinciding received for
RS232 H'D1' with the first byte fixed in UTF-8 by means of movlw A'Ñ'
that is H'C3'.
The solution was to change to:

 movlw H'D1'

The question of the million:
There is some way of saying to glib/gtk that they should use iso-8859-1
instead of UTF-8 on having run gpsim?

I have read thereabouts, that putting something like:

~$ G_FILENAME_ENCODING=ISO-8859-1 <program>

that one was forcing to the program in question to use iso-8859-1.
On programming with glib/gtk deal very little, but for what I read,
so many glib since as gtk try internally in UTF-8.

Regards

Néstor A. Marchesini
Chajari-Entre Rios-Argentina
ICQ # 50983752 colo
MSN ####@####.####
####@####.####
####@####.####
http://www.deselectronica.com.ar



Previous by date: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] pkp can't find pport, Gibaud Alain
Next by date: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] Gtk-CRITICAL in GUI gpsim, Scott Dattalo
Previous in thread: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] Gtk-CRITICAL in GUI gpsim, Nestor A. Marchesini
Next in thread: 7 Dec 2006 00:05:20 +0000 Re: [gnupic] Gtk-CRITICAL in GUI gpsim, Scott Dattalo


Powered by ezmlm-browse 0.20.