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

command: Add --conf-encoding option to accept non utf-8 configuration file #2453

Merged
merged 2 commits into from
Jun 13, 2019

Conversation

repeatedly
Copy link
Member

Signed-off-by: Masahiro Nakagawa repeatedly@gmail.com

Which issue(s) this PR fixes:
None

What this PR does / why we need it:
Some environment doesn't use utf-8 for text file and convert encoding is not easy for non technical users. This option reduces the encoding trouble.

Docs Changes:
I will add option to command line option article.

Release Note:
Same as title.

… file

Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
@repeatedly repeatedly added the enhancement Feature request or improve operations label Jun 12, 2019
@repeatedly repeatedly requested a review from ganmacs June 12, 2019 15:01
@ganmacs
Copy link
Member

ganmacs commented Jun 13, 2019

ah, tests failed. can you check this?

It may be caused when passing an empty string or nil.
warning: Unsupported encoding :utf-8 ignored

Signed-off-by: Masahiro Nakagawa <repeatedly@gmail.com>
@repeatedly repeatedly merged commit 6c8cdd7 into master Jun 13, 2019
@ganmacs ganmacs deleted the cmd-option-conf-encoding branch July 11, 2019 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request or improve operations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants