Jump to content

Accentuation in c ++


Go to solution Solved by Vanilla,

Recommended Posts

  • Contributor

With notepad++ change the file's (the .cpp) encoding to the correct one. Most of the time "ansi" is the needed.

Also since it's an LC_TEXT do the same with your locale_string.txt.

 

xOoie.png

 

Probably you want to ctrl+a ctr+c the cpp's text and overwrite after changing the encoding, because it will most likely replace the characters with ?? in your cpp, but after you can delete the whole and paste what you ctrl+c before so you will not have ??.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
Share on other sites

  • Solution

I highly recommend switching to utf-8 for client encoding.

Either way the problem you encounter here is mismatching encoding. The client expects a different encoding and therefore cannot display the character properly.

There are also bulk tools that allow you to change the encoding of multiple files. For UTF8 there's for example UTFCast Express which is free.

  • Love 2

We are the tortured.
We're not your friends.
As long as we're not visible.
We are unfixable.

Link to comment
Share on other sites

10 minutes ago, Vanilla said:

I highly recommend switching to utf-8 for client encoding.

Either way the problem you encounter here is mismatching encoding. The client expects a different encoding and therefore cannot display the character properly.

There are also bulk tools that allow you to change the encoding of multiple files. For UTF8 there's for example UTFCast Express which is free.

 

I will try UTF8 without visual code for C ++. Thank you. ps: you are very well known in Brazil ^^

Edited by ByLost
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.