-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"invalid multibyte sequence" error from msgfmt on "¡" #299
Comments
that sounds wrong to me! can you share more info (the platform you're using, the stack trace)? |
If in https://github.com/maelle/pockage/blob/a36978a1c06dcdc3dbd6200f4110c2bbaa1ba21b/po/R-es.po#L20 I add "¡" I get
This is on:
I installed potools from GitHub with pak, and didn't have to worry about the system dependency (or maybe I should!). |
Apparently I also get the error for the slash in the other file https://github.com/maelle/pockage/blob/a36978a1c06dcdc3dbd6200f4110c2bbaa1ba21b/po/R-ca.po#L15 but that wasn't breaking on its own. |
The main concern for platform is if this is coming from Windows or not. Definitely surprised this is happening on Ubuntu and hadn't been caught yet! I'll take a look at this soon. |
I know literally nothing about this, but this line caught my eye:
Would be worth trying chaning ASCII to UTF-8. |
@hadley yes, this worked! 🎉 |
Thanks @hadley! Maëlle, can I know how that |
Looks like {potools} can do so, here's how msginit -i R-pockage.pot -o R-ja.po -l ja -w 120 --no-translator
grep charset R-ja.po
# "Content-Type: text/plain; charset=ASCII\n" |
I don't see an option for
I had hoped using If I replace Looking now how safe it may be to default to |
Another note -- looks like there's some conflict b/w Lines 78 to 79 in 05e873d
|
I had created the files using potools. Thank you! |
👋, thanks for maintaining potools!
I'm writing an example package, and noticed I can't use "¡" in msgid nor msgstr, is that expected?
The text was updated successfully, but these errors were encountered: