French accentuated characters

S

Serge

I have a French version of Office 2003. When I fill an InfoPath from with
accentuated characters (like ÀÉÖÜ), I save it but cannot open it anymore
after. I receive an error message telling that "The form contains XML format
impossible to analyze: An incorrect character was found in contents of text"

Someone seen this before ??

Serge
 
V

virgul

it's when you are in design mode or when you modify directly in the
code?


If it's the second case you have to put the html tag like ´ (à)

If you speak french je préfère t'expliqué en francais c'est plus
facile!!!!


A++
 
T

The Coach

Salut Virgul,

En effet je parle français. Le problème se produit lorsque je saisie des
données dans un formulaire que j'ai développé. C'est assez bizarre comme
problème, lorsque je saisie des données avec des caractères accentués en
majuscule je reçois un message qui indique que le document contient des
caractères non reconnus en XML. C'est un formulaire simple que j'ai
développé avec les fonctions natives d'Infopath via l'interface.

Serge
 
V

virgul

Salut l'entraineur,

C'est vraiment bizzare comme problème t'es sur que quand tu as dev
ton form ton dictionnaire étais en francais car moi j'ai fait déja
2,3 form et j'ai pas eu ce problème. As-tu la sp1(et surtout l'as tu
installé corectement j'entend par la désinstallé infopath installé
la sp1 et réinstallé infopath (comme raconté dans l'article de
microsoft))? ton prob vient peut-être du fait que ta copie d'infopath
est mal installé. donne moi des nouvelles


++
 
T

The Coach

Salut,

En fait si je saisie des données, je sauvegarde et j'ouvre ça fonctionne.
Mais si je prend le formulaire avec les données et que je le fait suivre via
un email, c'est a ce moment que j'ai un message d'erreur et que le formulaire
refuse de s'ouvrir. Tu peux faire le test, prend un formulaire avec des
données qui contiennent des caractères accentués en majuscule, envoie toi un
email avec le formulaire comme fichier attaché.

En ce qui concerne le SP1 il est installé selon les recommandations de MS.

Serge (The Coach)
 
T

The Coach

Virgul,

J'ai fait un autre test et j'ai remarqué les choses suivantes :

- Le problème est avec les caractères accentués autant majuscule que
minuscule.
- Quand certains caractères sont présent dans le formulaire, il est
impossible de l'ouvrir une fois qu'il a transité par Internet (le À entre
autre).
- Les caractères sont remplacés par d'autres, voir l'exemple ci-dessous.
Voici le texte original et le résultat une fois le transit par Internet
effectué

Original :
C'est un profil qui ne cadre pas avec nos créneaux mais il est prêt à faire
un peu de tout alors on verra. Il a un certificat en administration,
concentration en affaires électroniques et systèmes d'information.

Résultat :
C'est un profil qui ne cadre pas avec nos crC)neaux mais il est prC*t C
faire un peu de tout alors on verra.B Il a un certificat en administration,
concentration en affaires C)lectroniques et systC(mes d'information.B
 
M

Matthew Blain \(Serriform\)

It looks to me like you have an encoding issue. How are you saving your
InfoPath files? Are you running the save through any sort of extra
transform, either in client (InfoPath) or server code? I took your example
text and pasted it into a form with no issues.

My guess is that you're saving it to a server which is somehow either
munging or perhaps just misidentyfing the encoding of the file. InfoPath
typically uses UTF-8, but if your server says 'this is Windows-1252', then
any non-ASCII (<127) character will come out wrong.

--Matthew Blain
http://tips.serriform.com/
http://www.developingsolutionswithinfopath.com/
 
T

The Coach

Matthew,

The form is in xsn format and I save it as a xml file (no other choice).
The only issue I have with a server is by my Internet provider so do you
thing he is (the provider) source of my problem. How can I solve this ?

Thanks

Serge (The Coach)
-------------------------------------------------
 
M

Matthew Blain \(Serriform\)

What happens when you save the XML file to your hard drive, then reload it
with InfoPath? What happens if you open the XML file in IE (which is a bit
difficult because InfoPath will try to take over) or Microsoft Word or some
other tool?

I don't have a direct answer, but these are things you can try out. If it
works saved to your hard drive but not your web server, you may have to
reconfigure the server somehow, though I don't know how off the top of my
head.

--Matthew
 
Top