Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
Forum Updated to NodeBB v4.3 + New Features

C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sonichyS Offline
    sonichyS Offline
    sonichy
    wrote on last edited by sonichy
    #1

    The code is UTF-8, is good in Linux.
    But in Windows, it have many character error, change the code to UTF-16, it can pass, but QString contains chinese is messy code.
    And return to Linux, UTF-16 report error too, should change back to UTF-8.

    https://github.com/sonichy

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Dont know if it will help but have you looked at the encoding options ?
      alt text

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved