-
Notifications
You must be signed in to change notification settings - Fork 66
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 argument #12
Comments
Does your iconv command accept "GB-18030" on the command line? Mine certainly does not:
Since I'm not doing any massaging of the string inputs before giving them to iconv functions, it's expected it would give the error. iconv does not consider that a valid alias. |
Thank you ~ I get the "GB-18030" from github.com/saintfish/chardet this package . |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
content, err := iconv.ConvertString(string(body), "GB-18030", "UTF-8")
When i set GB-18030 i got a "invalid argument" error ?
I change the value "GB18030" is ok
The text was updated successfully, but these errors were encountered: