Display not parsing xorg.conf with utf-8 characters

Bug #41474 reported by Fran6co
10
Affects Status Importance Assigned to Milestone
kde-guidance (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

If I install ubuntu using as default the spanish language, xorg.conf will have:

.....

Section "Monitor"
  option "DPMS"
  identifier "Monitor genérico"
......

Section "Screen"
  Identifier "Default Screen"
  Device "NVIDIA Corporation NV15DDR [GeForce2 Ti]"
  Monitor "Monitor genérico"
......

Display is unable to change anything from the xorg.conf, and it will output this (my interpretation is the character í that is causing the problem):

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/displayconfig.py", line 785, in save
    self.xsetup.writeXorgConfig(tmpfilename)
  File "/usr/lib/python2.4/site-packages/displayconfigabstraction.py", line 674, in writeXorgConf
ig
    self.xorg_config.writeConfig(filename)
  File "/usr/lib/python2.4/site-packages/xorgconfig.py", line 614, in writeConfig
    fhandle.write(self.toString())
  File "/usr/lib/python2.4/site-packages/xorgconfig.py", line 610, in toString
    return Co
nfigContainer.toString(self,depth)
  File "/usr/lib/python2.4/site-packages/xorgconfig.py", line 214, in toString
    string += item.toString(depth+1)
  File "/usr/lib/python2.4/site-packages/xorgconfig.py", line 360, in toString
    return '%sSection "%s
"\n%s%sEndSection\n' % \
  File "/usr/lib/python2.4/site-packages/xorgconfig.py", line 214, in toString
    string += item.toString(depth+1)
  File "/usr/lib/python2.4/site-packages/xorgconfig.py", line 98, in toString
    string += ' "' + '" "'.join([str
(item) for item in self._row[1:]]) + '"'
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 15: ordinal not in range(128)

Revision history for this message
Simon Edwards (simon-simonzone) wrote :

Which version of the kde-guidance package are you using? (make sure that you are using the latest).

Revision history for this message
Fran6co (fran6co) wrote : Re: [Bug 41474] Re: Display not parsing xorg.conf with utf-8 characters

I'm using version 0.6.5 (the latest in the repository of Dapper Beta)

On 4/26/06, Simon Edwards <email address hidden> wrote:
> Which version of the kde-guidance package are you using? (make sure that
> you are using the latest).
>
> --
> Display not parsing xorg.conf with utf-8 characters
> https://launchpad.net/bugs/41474
>

Revision history for this message
Simon Edwards (simon-simonzone) wrote :

will be fixed in the next Guidance release (0.6.6).

Revision history for this message
Luka Renko (lure) wrote :

Released with 0.6.6-0ubuntu1

Changed in kde-guidance:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.