[Bug 1095949] [NEW] Problem with special characters

Sworddragon 1095949 at bugs.launchpad.net
Fri Jan 4 06:23:43 UTC 2013


Public bug reported:

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.

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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