Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4796

Missing escape for apostrophes in many messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.6.1.0
    • 10.7.1.1
    • Localization
    • None

    Description

      The properties file format requires that single-quote characters are escaped with an extra single-quote. A number of messages don't follow this rule.

      Take this example from the Italian localization:

      42X34=Esiste un parametro ? nell'elenco di selezione. Ci\u00F2 non \u00E8 consentito.

      Note that there's only a single apostrophe in "nell'elenco" above. When this message is printed, the apostrophe will be omitted:

      $ LC_ALL=it_IT.UTF-8 java -jar derbyrun.jar ij
      Versione ij 10.6
      ij> connect 'jdbc:derby:db;create=true';
      ij> select ? from sys.systables;
      ERRORE 42X34: Esiste un parametro ? nellelenco di selezione. Ciò non è consentito.

      We should go through the message files and add extra apostrophes where they are missing.

      Attachments

        1. engine-messages.diff
          32 kB
          Knut Anders Hatlen
        2. tools-drda-messages.diff
          241 kB
          Knut Anders Hatlen
        3. tools-drda-messages.stat
          2 kB
          Knut Anders Hatlen
        4. tools-drda-messages-2.diff
          245 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            People

              knutanders Knut Anders Hatlen
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: