Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-975

Unicode characters cause issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3
    • None
    • Engine
    • None

    Description

      Ran across some cases of processing files using velocity with some unicode characters in it that caused some unexpected results. Is there anything that I can do to prevent or mitigate this short of stripping out a set of bad characters before i had the script off to velocity?
       

      org.apache.velocity.exception.ParseErrorException: Lexical error,   Encountered: "\u00a0" (160), after : "" at *unset*[line 1, column 19]
              at org.apache.velocity.runtime.RuntimeInstance.evaluate(RuntimeInstance.java:1437)
              at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:239)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            spyhunter99 Alex O'Ree
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: