We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think it should be utf-8 encoding by default, and the corresponding encoding can be generated after setting the default encoding.
Now all the parsing codes have not changed, causing the format result to be wrong.
A very simple improvement is to add the following sentences to the function string q_codec::decode(const string& text) const.
string q_codec::decode(const string& text) const
#include <boost/locale.hpp> using boost::locale::conv::to_utf; string q_codec::decode(const string& text) const { .... if (!iequals(charset, "utf-8")) { dec_text = to_utf<char>(dec_text, charset); } return dec_text; }
Format again after the change, you can modify the charset according to the corresponding encoding and then encode.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think it should be utf-8 encoding by default, and the corresponding encoding can be generated after setting the default encoding.
Now all the parsing codes have not changed, causing the format result to be wrong.
A very simple improvement is to add the following sentences to the function
string q_codec::decode(const string& text) const
.Format again after the change, you can modify the charset according to the corresponding encoding and then encode.
The text was updated successfully, but these errors were encountered: