Vassal 2.2.1 Java 1.5 utf-8

Certe un peu technique
mais j'ai pensé que cettte information est d'intérêt général du moins pour ceux qui utilise les petits pions virtuels sous Vassal...
et ne doit donc pas être réservée à Scorion et moi
En bref une petite erreur: Vassal 2.2.1 utilise Java 1.4 qui permet l'utilisation des caractère utf-8 qui permet les accentués et autres singularités que nous utilisons contrairement à nos amis anglo saxons (éèàùç...)
Donc tout cela est utile mais pas parfait: l'entête utf-8 cause des problèmes et cette entête peut apparaitre dans le fichier buidfile contenu dans tout les modules et les extensions
Le buildfile contiens la définition de tous les composants utilisés: cartes, pions, help, ...
La ca fait boum... avec comme message d'erreur:
Elément racine de document manquant :shock:
Les développeur de Vassal sont internationaux, ici le brave Pelayo nous réponds, la solution est d'utiliser Java 1.5 ou d'utiliser le vieil éditeur dos Edit pour enlever les 3 premier caractère de début (moi j'utilise un éditeur hexadecimal mais c'est pareil)
Merci à Pelayo et viva Espagna :P
------------------------------------------------------------------------------
Date: Sun, 16 Oct 2005 22:50:37 -0000
From: "Gorodoff" <gorodoff@belgacom.net>
Subject: Buidfile utf-8 problem
There are 3 hexa characters at the beginning of certain buildfile files
Code hexa: EF BB BF <?xml version="1.0" encoding="UTF-8"?>
Apparently it is a utf-8 heading
On a windows98se platform, whithout the 3 characters the extension
gives no error message.
If I save the same buildfile under UTF-8 format, I get the 3 hexa codes
Then trying to run the same extension containing the new buildfile
gives the error:
Elément racine de document manquant
(missing root element)
And it does the same whith any extension containing those 3 hexa codes
from the start
All those extensions are made by french speaking persons so UTF-8
is needed in order to keep the accentuated chars (éèàç...)
Textpad editor is unable to get the rid of the 3 hexa codes
What can I do?
________________________________________________________________________
Date: Mon, 17 Oct 2005 07:22:26 +0200 (MEST)
From: "CONDE_PELAYO@telefonica.net" <Conde_Pelayo@telefonica.net>
Subject: Re: Buidfile utf-8 problem
Hi,
This is a problem I bumped against some time ago.
If I remeber
right, java 1.5 solves the problem.
If you stay on 1.4, edit (the old
dos tool) provides you with the opportunity to get rid of those hex
characters.
Be warned this is not the only problem. With 1.4 any
special character (è) will be written "encrypted" with 1.5
will be
written an plain character. 1.4 is compatible with 1.5, but not
backwards.
Greetings,
Pelayo.


En bref une petite erreur: Vassal 2.2.1 utilise Java 1.4 qui permet l'utilisation des caractère utf-8 qui permet les accentués et autres singularités que nous utilisons contrairement à nos amis anglo saxons (éèàùç...)
Donc tout cela est utile mais pas parfait: l'entête utf-8 cause des problèmes et cette entête peut apparaitre dans le fichier buidfile contenu dans tout les modules et les extensions
Le buildfile contiens la définition de tous les composants utilisés: cartes, pions, help, ...
La ca fait boum... avec comme message d'erreur:
Elément racine de document manquant :shock:
Les développeur de Vassal sont internationaux, ici le brave Pelayo nous réponds, la solution est d'utiliser Java 1.5 ou d'utiliser le vieil éditeur dos Edit pour enlever les 3 premier caractère de début (moi j'utilise un éditeur hexadecimal mais c'est pareil)
Merci à Pelayo et viva Espagna :P
------------------------------------------------------------------------------
Date: Sun, 16 Oct 2005 22:50:37 -0000
From: "Gorodoff" <gorodoff@belgacom.net>
Subject: Buidfile utf-8 problem
There are 3 hexa characters at the beginning of certain buildfile files
Code hexa: EF BB BF <?xml version="1.0" encoding="UTF-8"?>
Apparently it is a utf-8 heading
On a windows98se platform, whithout the 3 characters the extension
gives no error message.
If I save the same buildfile under UTF-8 format, I get the 3 hexa codes
Then trying to run the same extension containing the new buildfile
gives the error:
Elément racine de document manquant
(missing root element)
And it does the same whith any extension containing those 3 hexa codes
from the start
All those extensions are made by french speaking persons so UTF-8
is needed in order to keep the accentuated chars (éèàç...)
Textpad editor is unable to get the rid of the 3 hexa codes
What can I do?
________________________________________________________________________
Date: Mon, 17 Oct 2005 07:22:26 +0200 (MEST)
From: "CONDE_PELAYO@telefonica.net" <Conde_Pelayo@telefonica.net>
Subject: Re: Buidfile utf-8 problem
Hi,
This is a problem I bumped against some time ago.
If I remeber
right, java 1.5 solves the problem.
If you stay on 1.4, edit (the old
dos tool) provides you with the opportunity to get rid of those hex
characters.
Be warned this is not the only problem. With 1.4 any
special character (è) will be written "encrypted" with 1.5
will be
written an plain character. 1.4 is compatible with 1.5, but not
backwards.
Greetings,
Pelayo.