Unicode data
Asked by
ruddy32
I'm using UTF-8 data with unicode object. Using XML-RPC call my client application update a partner name. My overwriten Partner object implement new methods. Part of it is updating a Pricelist object name using the new Partner name in the source code below.
name = self.read(cr, uid, item.id, ['name'])['name']
vals = { 'name': name.replace(
I get the following error : "'ascii' codec can't encode character u'\xe8' in position 45: ordinal not in range(128)"
I have do many changes without success. My database has been created with UNICODE option.
How can I solve it?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- ruddy32
- Solved:
- Last query:
- Last reply:
To post a message you must log in.