Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-12451

Console: Support East-Asian characters

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • Win32SS
    • None

    Description

      The current Command Prompt cannot display and treat East-Asian (Chinese, Japanese and Korean) characters properly.

      The monospace East-Asian character can have double width of one latin character. A character of double width, that is called as a "fullwidth" character, has double width of other normal characters (called as "halfwidth" characters). Actual width of one wide character can be retrieved by the wcwidth function (See wcwidth.c in console_test.zip).

      If the output line has one character space remained and there is no fullwidth space, then one space blank is shown there and console goes next line.

      See attachments.

      Attachments

        1. win2k3_jpn_console_peculiarities.png
          win2k3_jpn_console_peculiarities.png
          61 kB
        2. ntgdi_freetype_fixups.patch
          5 kB
        3. new-ConsoleCP-JPN-before.txt
          3 kB
        4. kernel32_apitest.exe
          271 kB
        5. kernel32_apitest.exe
          271 kB
        6. jpn-echo-2.png
          jpn-echo-2.png
          6 kB
        7. jpn-echo-2.bat
          0.2 kB
        8. japanese-echo.bat
          0.1 kB
        9. ja_JP.bat
          0.0 kB
        10. improve-console-rendering-v2.patch
          10 kB
        11. improve-console-rendering-v2.patch
          11 kB
        12. improve-console-rendering.patch
          38 kB
        13. fix-asian-console-dialog.patch
          6 kB
        14. failure-to-display-japanese.png
          failure-to-display-japanese.png
          51 kB
        15. console-jpn-before.txt
          1 kB
        16. console-jpn-after.txt
          1 kB
        17. console-eng-before.txt
          1 kB
        18. console-eng-after.txt
          1 kB
        19. ConsoleCP-WinXP-ja.png
          ConsoleCP-WinXP-ja.png
          68 kB
        20. ConsoleCP-Win10-ja.txt
          0.4 kB
        21. ConsoleCP-Win10-ja.png
          ConsoleCP-Win10-ja.png
          23 kB
        22. ConsoleCP-ros-jp-before.png
          ConsoleCP-ros-jp-before.png
          75 kB
        23. ConsoleCP-jpn-after.txt
          0.2 kB
        24. ConsoleCP-eng-after.txt
          0.2 kB
        25. console_test.zip
          61 kB
        26. console_test.png
          console_test.png
          21 kB
        27. console_cpl_with_codepage.png
          console_cpl_with_codepage.png
          60 kB
        28. asian-command-prompt-2.png
          asian-command-prompt-2.png
          66 kB
        29. asian-command-prompt-1.png
          asian-command-prompt-1.png
          79 kB
        30. asian-command-prompt.patch
          36 kB
        31. asian-command-prompt.patch
          27 kB
        32. asian-command-prompt.patch
          27 kB
        33. add-i18n-console-tests.patch
          17 kB
        34. add-i18n-console-tests.patch
          19 kB
        35. 4-5-2017 12.5.1 1.jpg
          4-5-2017 12.5.1 1.jpg
          23 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              katayama_hirofumi_mz Katayama Hirofumi MZ
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: