jgm / gitit

A wiki using HAppS, pandoc, and git
GNU General Public License v2.0
2.16k stars 226 forks source link

umlauts in page titles #560

Closed brefan closed 8 years ago

brefan commented 8 years ago

After creating a page with an umlaut in the title, i noticed the following:

jgm commented 8 years ago

Check that your locale is UTF-8.

+++ brefan [Jul 04 16 03:55 ]:

After creating a page with an umlaut in the title, i noticed the following: * In Recent activity umlauts like ä appear as � in the link in the last bracket. clicking the link produces: The error was "git: recoverEncode: invalid argument (invalid character)" * In All pages, the page appears with the � in the title, clicking it produces: The error was "git: recoverEncode: invalid argument (invalid character)" * Clicking Categories produces: The error was "wikidata/page title with �: openFile: invalid argument (invalid character)"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

References

  1. https://github.com/jgm/gitit/issues/560
  2. https://github.com/notifications/unsubscribe/AAAL5E1WDyWU6TSjahAlBVoBUu8EZK-Bks5qSOargaJpZM4JEQ51
jgm commented 8 years ago

Seems to work fine in the demo http://gitit.net/%C3%A4

+++ brefan [Jul 04 16 03:55 ]:

After creating a page with an umlaut in the title, i noticed the following: * In Recent activity umlauts like ä appear as � in the link in the last bracket. clicking the link produces: The error was "git: recoverEncode: invalid argument (invalid character)" * In All pages, the page appears with the � in the title, clicking it produces: The error was "git: recoverEncode: invalid argument (invalid character)" * Clicking Categories produces: The error was "wikidata/page title with �: openFile: invalid argument (invalid character)"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, [1]view it on GitHub, or [2]mute the thread.

References

  1. https://github.com/jgm/gitit/issues/560
  2. https://github.com/notifications/unsubscribe/AAAL5E1WDyWU6TSjahAlBVoBUu8EZK-Bks5qSOargaJpZM4JEQ51
brefan commented 8 years ago

Setting the locale to utf-8 works. Thank you.

fkohrt commented 4 years ago

For the record: using a docker container, setting the environment variable LC_ALL=C.UTF-8 did the trick for me.