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