jin7
V2EX  ›  JetBrains

关于 pycharm/idea 中的 File Encoding, Global Encoding 和 Project Encoding 的疑问

  •  
  •   jin7 · Jun 26, 2020 · 2421 views
    This topic created in 2154 days ago, the information mentioned may be changed or developed.

    关于 pycharm/idea 中的 File Encoding, 我只指定了 Global Encoding 为 UTF-8, 但 Project Encoding 还是系统默认 GBK, 不是说 Project Encoding 优于 Global Encoding 么, 为啥我创建的新的 python 文件默认是 UTF-8 编码, 而不是 GBK

    当然我需要的是 UTF-8 而不是 GBK

    https://www.jetbrains.com/help/pycharm/settings-file-encodings.html

    1 replies    2020-06-26 15:10:38 +08:00
    jin7
        1
    jin7  
    OP
       Jun 26, 2020
    网上都是说把那三个都设为 utf-8, 但是我没设好像也没问题
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3006 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 12:24 · PVG 20:24 · LAX 05:24 · JFK 08:24
    ♥ Do have faith in what you're doing.