← Back to team overview

openerp-india team mailing list archive

Re: [Bug 613721] Re: [5.0] [trunk] non-ascii characters not handled properly in XML views

 

On jeu. 09 août 2012 03:23:50 CEST, Cristian Salamea (Gnuthink) wrote:
> Hello i am working in 6.1 too and is not fixed.
>
> Regards,
>

Do you have a proper XML encoding declaration at the begining of your 
file?

--
Alexandre Fayolle
Chef de Projet
Tel : + 33 (0)4 79 26 57 94

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac Cedex
http://www.camptocamp.com

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/613721

Title:
  [5.0] [trunk] non-ascii characters not handled properly in XML views

Status in OpenERP Server:
  Fix Released
Status in OpenERP Server 5.0 series:
  Fix Released
Status in OpenERP Server trunk series:
  Fix Released

Bug description:
  Hello,
  I just installed the last 5.0.12 server version but when restarting the server, I get the following error :

    File "/usr/lib/openerp-server/osv/orm.py", line 1104, in __view_look_dom
      node.set('string', trans)
    File "lxml.etree.pyx", line 646, in lxml.etree._Element.set (src/lxml/lxml.etree.c:9638)
    File "apihelpers.pxi", line 416, in lxml.etree._setAttributeValue (src/lxml/lxml.etree.c:31554)
    File "apihelpers.pxi", line 1136, in lxml.etree._utf8 (src/lxml/lxml.etree.c:36998)
  ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes

  
  This is due to a xml file i made which contains the following instruction :

  <separator string="Valeurs dans la monnaie de la société"
  colspan="4"/>

  So, I changed my accented letters with the symbols &#233; but the
  problem remains ...

  This problem did not occured in the previous versions

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/613721/+subscriptions


References