Compilation of tutorial.tjp fails due to encoding/special characters #105

jwhendy opened this Issue Mar 25, 2013 · 6 comments

3 participants


I downloaded the tutorial file here with:

wget -O test.tjp  

To compile, I had to fix three errors (compile, get error, fix, repeat). The issues are:

  • Line 37: the (c) character in "© 2002 Crappy Software, Inc."
  • Line 79: the e+accent in "Sébastien Bono"
  • Line 83: the umlaut in "Klaus Müller"

Is this something to do with my system setup/language?


  • Arch Linux x86_64
  • tj3 v 3.4.0
  • Uncommented lines in /etc/locale.gen

    en_US.UTF-8 UTF-8
    en_US ISO-8859-1

Let me know if you need additional information.

If this is a legitimate issue or may affect those without these characters enabled, perhaps they could be replaced with alternative text?


The TaskJuggler Project member

What's the output of the 'locale' command in a shell? Active locale must be UTF-8 for TaskJuggler to properly process this file.


Sorry for the noise. Closing as this was my fault. Arch Linux changed to using systemd from sysv and I didn't realize there was a new config file, /etc/locale.conf in addition to uncommenting desired locales in /etc/locale.gen, which is how it used to work. Thanks for pointing me in the right direction!

@jwhendy jwhendy closed this Apr 3, 2013

What was the solution?


@pothiers: basically, make sure your system is set up correctly with respect to locale (e.g. en_US.utf8 in my case). Assuming you're on Linux, your distro should have some documentation. I'm responding from my phone but could link to the Arch Linux instructions later if you're stuck?


No need, thanks. You kicked me into checking my distro (Mint). Turns out my LANG was set ok. But other things were not. My solution:

export LC_ALL=en_US.utf8

Works now. Thanks for the quick offer of help!


No problem, and glad you got it sorted out! I actually couldn't remember the exact fix, just that it was system locale related, so I would have had to dig a bit to recall. Same issue, though, with not picking up the accented characters in the tutorial names. Happy juggling!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment