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

Clang Format Japanese characters garbled source file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 16.0.0
    • Editors
    • None
    • Windows11
      QtCreator 16.0.0
    • Windows

    Description

      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

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes