Chinese & Japanese characters encoding in C++ / vsc

Viewed 42

I'm working with some rhythm-game database, and I got stuck..

Some of the songs' titles includes Japanese and Chinese, and those texts crush, I believe encoding problems.

Here's some examples :

list<string> Songs = {"some english",
                      "some japanese ガタカナ ルール",
                      "some Chinese THE SxPLAY(菅原紗由理)", ...}

.
.
.

for(auto x : Songs) cout << x << endl;

So I tried changing encoding settings, but whatever I use some of the texts crushes.

Is there any solution to this? or should I try custom-encoding or something?

0 Answers
Related