-
Notifications
You must be signed in to change notification settings - Fork 492
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
Git commit message with non ASCII character raises error #68
Comments
If anyone can help debug this, that'd be swell. I'd like to see the entire error message if there's more to it. |
@rstacruz add this to the top of all the files: # encoding: utf-8 Or at least all files that accept varying input. |
Lol I was just about to suggest a fix... when I realized that I already did haha. |
This is happening to me as I'm trying to setup a simple deploy with Via Shell:
Via
|
Just had this issue again due to @henrebotha's name having an é in it. |
Hi @fmartingr and @constantm please update the gem to the new version, this bug is fixed :) |
Awesome thanks! |
Thank you, will take a look :) |
Nope, still an issue on 0.3.1
|
Hmm, I added some characters in my git name and tested it again.
|
Weird. Any ideas how I can help debug this? |
Can you please write down your full name, and your last commit message? |
|
Wait, wait, I totally forgot that this error appears on your server :) Can you check your locales? http://perlgeek.de/en/article/set-up-a-clean-utf8-environment |
Aaaaaah. Okay, quick question - does Mina use the default shell for root (eg. Zsh), or does it use Bash? |
As I know mina uses the default shell :) |
Okay in that case setting the locales didn't fix the issue. I've added the exports to .zshrc, and the only thing is changes is LC_ALL and LANGUAGE. The rest were at en_US.UTF-8 already. Running
Deploys still don't work. :/ |
Ok, can you please add it to .bashrc just to test it? This are my locales, I'm using .bashrc with legacy user
|
Added locales to .bashrc to root with no luck. I'm just going to change the name for now. Will comment here if I ever figure out what causes the issue. |
Got it resolved. Issue was due to missing local on my local pc. I run following on my terminal
mina deploy works fine now |
Running deploy with the last git commit message containing a non ASCII character throws:
invalid byte sequence in US-ASCII
The text was updated successfully, but these errors were encountered: