quvi may output utf-8 encoded data when the conifigured locale doesn't support that; avoid crashing on such invalid encoding.
This commit is contained in:
parent
af863b5b1b
commit
08bb3b1b1d
4 changed files with 37 additions and 8 deletions
|
@ -68,3 +68,5 @@ on Linux.
|
|||
|
||||
I love it. It has motivated me enough to start organizing my files spread on different machines, disks etc. at least a little :-)
|
||||
|
||||
> [[fixed|done]]; quvi output is now parsed in a locale-independant manner.
|
||||
> --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2015-11-09T15:45:35Z"
|
||||
content="""
|
||||
This works fine when LANG is set to a utf-8 capable locale. I reproduced it
|
||||
with LANG=C. quvi outputs utf-8 in that configuration, and git-annex,
|
||||
following the locale settings, did not know what to do with that.
|
||||
|
||||
Easily fixed, but you'll have better luck in general if you get into a
|
||||
utf-8 capable locale.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue