Hi Travis,

Generally UTF-8 is the best choice as the encoding for xml, including
Glade, files.

But beware of any post-processing that may be occurring, like
translation extraction/substitution or resource embedding. They must
be redone after changing the encoding of the glade files. Take care
the while xml parsers normally can accept well many encodings (if
correctly instructed in the processing directive), some of those
post-processing tools may not understand that and may have to be
manually instructed.

Good luck,

On 5/15/06, Travis Staloch <[EMAIL PROTECTED]> wrote:
Hello,

I've been writing to [email protected] about this
without any conclusive info thus far.  Please forgive
me it this is a cross-post as I've written pretty much
the same things there.

I wrote a (hopefully) cross-platform scipted installer
application using glade on my windows box.  The app
runs fine on that platform.  It was build with the csc
compiler using visual studio 2003 and then all the
files were copied over to my FC5 box.  I did the same
with another non-gui app and had no problems.

Here is the error message that I get:
****************************************************
Gtk-WARNING **: Failed to set label from markup due to
error parsing markup: Error on line 4 char 6: '0' is
not a valid character following a '<' character; it
may not begin an element name
****************************************************

It sounds to me like I'm passing some bad markup to
one of the glade labels.  I've validated my .glade
project file and also my app's xml config file which
contains some of the labels' text.

I thought that this might be an encoding problem where
my xml file was saved with a funny encoding.  I tried
to resave the xml files.  I also thought that somehow
I'm getting bad characters passed to one of the glade
labels.  I'm doing some search & replace in the config
file, replacing a few variables which can appear in
the xml content.

Does any of this ring a bell with anyone?

Regards, Thanks,

--Travis

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list



--
Rafael "Monoman" Teixeira
---------------------------------------
As I'm currently working a lot with Java and even fixing Java VMs
(JamVM/Kaffe) and GNU Classpath code, I think I may partly borrow the
title (Javaman) from my friend Bruno Souza and become the
MonoNJavaMan. Yeah, I may currently be crazier than usual...
_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to