Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

fix: QString cannot directly print non-English (e.g. Chinese) - #852

Open
XMuli wants to merge 1 commit into
abumq:masterfrom
XMuli:master
Open

XMuli wants to merge 1 commit into
abumq:masterfrom
XMuli:master

Conversation

@XMuli

@XMuli XMuli commented Apr 17, 2024

Copy link
Copy Markdown

and provides direct printing of common QRect types.

This is a

  • Breaking change
  • New feature
  • Bugfix

I have

and provides direct printing of common `QRect` types.
Comment thread src/easylogging++.h
m_logger->stream() << msg.toStdWString();
# else
m_logger->stream() << msg.toStdString();
m_logger->stream() << msg.toLocal8Bit().toStdString();

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By converting to native encoding (ANSI), non-English strings can be displayed normally.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant