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