You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this call
mahonia.NewDecoder("shift-jis").ConvertString(string(s))
if string(s) contain char "", it will be converted to "¥"( full-width), which may lead to an error when creating file.
The following code can avoid this problem without changing original package
strings.Replace(mahonia.NewDecoder("shift-jis").ConvertString(string(s)), "¥", "", -1)
The text was updated successfully, but these errors were encountered:
In this call
mahonia.NewDecoder("shift-jis").ConvertString(string(s))
if string(s) contain char "", it will be converted to "¥"( full-width), which may lead to an error when creating file.
The following code can avoid this problem without changing original package
strings.Replace(mahonia.NewDecoder("shift-jis").ConvertString(string(s)), "¥", "", -1)
The text was updated successfully, but these errors were encountered: