Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-109

Groovy shell doesn't support Cp850 encoding on windows

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 1.0-beta-2
    • 1.0-beta-7
    • None
    • None
    • Windows specific issue

    Description

      On non-english platforms, such as a French platform, the encoding used in the groovy shell is DOS's Cp850, though Java thinks the text entered on System.in is in windows-1252.

      What yields to the fact that when entering a text with accents like :

      groovy> "?t?"

      Groovy shell returns :

      groovy> "?t?"

      We should wrap System.in and System.out with the Cp850 charset.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            guillaume Guillaume Sauthier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: