[xwiki-users] UTF-8 problem
pbasnews-tmp at yahoo.fr
pbasnews-tmp at yahoo.fr
Tue Aug 14 15:38:10 CEST 2007
Hi,
"Sergiu Dumitriu" found the solution
(I forget web.xml file)
-------------------------
For the moment, there are more places where you must
set the encoding.
1) the parameter in xwiki.cfg
2) the parameter in web.xml (look for 8859)
3) the jvm parameter file.encoding, which you have to
set in a
container-specific manner. It has to be passed as
-Dfile.encoding=UTF-8------
to the java command line.
We're trying to eliminate the third step, since it is
the only one we
cannot control, but it will take a little more.
Sergiu
-------------------------
Thxs for all ur suggestions.
PS: a xwiki faq miss me
--- pbasnews-tmp at yahoo.fr a écrit :
> I execute Tomcat 5.5 server with:
> JAVA_OPTS="-Djava.awt.headless=true
> -Dfile.encoding=UTF-8"
>
> I modify xwiki.cfg to use UTF-8 encoding:
> xwiki.encoding=UTF-8
>
> My browser detect utf-8 but all the special
> characters are "destroy":
> I edit that "Coucou éééèèèàààuuuùùù" and the Page
> display "Coucou éééèèèà à à uuuùùù " and if
> I edit again the forms display:"Coucou éééèèèÃ
> à à uuuùùù "
> Here the Pages Source:
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
> Strict//EN"
>
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr"
> xml:lang="fr">
> <head>
>
> <title>
> XWiki - BacASable - retestutf
> </title>
>
> <meta http-equiv="Content-Type"
> content="text/html; charset=UTF-8" />
> <meta http-equiv="imagetoolbar" content="no"/>
> <meta name="revisit-after" content="7 days" />
> <meta name="description" content="XWiki for sharing
> information" />
> <meta name="keywords" content="wiki" />
> <meta name="distribution" content="GLOBAL" />
> <meta name="rating" content="General" />
> <meta name="author" content="" />
> <meta http-equiv="reply-to" content="" />
> <meta name="language" content="fr" />
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1" />
>
> >
> --
> You receive this message as a subscriber of the
> xwiki-users at objectweb.org mailing list.
> To unsubscribe:
> mailto:xwiki-users-unsubscribe at objectweb.org
> For general help:
> mailto:sympa at objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
> http://www.objectweb.org/wws
>
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
More information about the users
mailing list