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

        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: