Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32632

Clang Format Japanese characters garbled source file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • Qt Creator 16.0.1
    • Qt Creator 16.0.0
    • Editors
    • None
    • Windows11
      QtCreator 16.0.0
    • Windows
    • 4d8a4e97b (16.0)

      QtCreator 16.0.0

       

      Japanese characters in the source code are garbled when 'Clang Format' is used.

      1.Clang Format  Enable.

       Option -> Use Custom Style

      Value is  Any value or blank is fine.

      ************************

      Language: Cpp

      TabWidth: 4

      ************************

      2.Edit Sorce File(h/cpp) 

        Sorce File Text Format is UTF-8 BOM

      3.File Save

       

      Add...

      QtCreator 14 -> OK

      QtCreator 15 -> OK

      QtCreator 16 -> NG

       

      Example

      Before Save File

      Atter Save File

        For Gerrit Dashboard: QTCREATORBUG-32632
        # Subject Branch Project Status CR V

            davschul David Schulz
            toyo TOYOHIRO SATO
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes