[Bug 41474] Display not parsing xorg.conf with utf-8 characters
Fran6co
fran6co at gmail.com
Wed Apr 26 11:42:04 UTC 2006
Public bug reported:
Affects: kde-guidance (Ubuntu)
Severity: Normal
Priority: (none set)
Status: Unconfirmed
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)
--
Display not parsing xorg.conf with utf-8 characters
https://launchpad.net/bugs/41474
More information about the kubuntu-bugs
mailing list