Skip to content
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

Unicode fix #15

Merged
merged 6 commits into from
Aug 17, 2019
Merged

Unicode fix #15

merged 6 commits into from
Aug 17, 2019

Conversation

doekman
Copy link
Collaborator

@doekman doekman commented Jul 24, 2019

OK, this should fix #14

I've tested with macOS (Python 2.7.16 and Python 3.7.3) and Debian Stretch (Python 2.7.13 and Python 3.5.3). Could you test Windows?

I also added some testing-files. It's still a bit of a mystery to me how encoding is supposed to work. I think it's save to say we want .ok files to be in UTF-8 encoding.

ok-show.py will only complaint if PYTHONIOENCODING is set, and only with python 3. I could set this variable in ok.sh.

Thoughts?

@MartyLake
Copy link
Contributor

I tested it on windows' git-bash by doing

cd /tmp
git clone [email protected]:secretGeek/ok-bash.git
cd ok-bash/
git checkout origin/unicode-fix
. ok.sh
cd /mnt/Users/martylake/dev/secret-project
dev
ok

And it all looks good :)

@secretGeek
Copy link
Owner

Awesome. Merge it Doeke

@doekman doekman merged commit 3941a44 into master Aug 17, 2019
@doekman doekman deleted the unicode-fix branch August 17, 2019 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fresh install not working on "git for windows" terminal
3 participants