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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: