[Bug 1095949] Re: Problem with special characters
Steve Langasek
steve.langasek at canonical.com
Wed Oct 2 23:11:39 UTC 2013
Upstart itself is running in the C locale, which means that any
processes started from it are also run in the C locale - so strings are
interpreted as ascii, not as UTF-8. exporting LANG before calling x
-terminal-emulator should be enough to fix this. I don't think there's
any bug in upstart here.
** Changed in: upstart (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1095949
Title:
Problem with special characters
Status in “upstart” package in Ubuntu:
Invalid
Bug description:
I'm using Ubuntu 13.04 dev with upstart 1.6.1-1ubuntu1. It seems that
Upstart have problems on my system if a script contains a special
character like "ö". Here is an example script:
env DISPLAY=:0
script
x-terminal-emulator -e "$(echo 'sh -c "echo ö; sleep 5"')"
end script
I have tested this with lxterminal and xterm but lxterminal is showing me �� and xterm ö .Calling this command from bash works fine (so it seems not to be a bug in lxterminal or xterm). If a ö is read as ISO-8859-1 and printed in UTF-8 it contains the same characters which xterm is showing me. So I'm assuming Upstart has maybe read this file as ISO-8859-1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1095949/+subscriptions
More information about the foundations-bugs
mailing list