Uploaded image for project: 'Seam Mail'
  1. Seam Mail
  2. SEAMMAIL-33

charset / character encoding / german umlaute

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.0.Beta4
    • Fix Version/s: 3.1.1.Final
    • Component/s: templating
    • Labels:
      None
    • Environment:
      Jboss AS 7.0.2

      Description

      Special chars like german umlaute ö ä ü do not work in the mail. Of course i can encode them in the html but in the text alternative thats not possible.

      The file is in utf-8, everytime i render a mail with a velocitytemplate the special chars are crippled. Even if i try to log to the console the text that was rendered (tostring) the characters are crippled already.

      i have tried to put a velocity.properties in the resource dir(and in web-inf) with

      input.encoding=UTF-8
      output.encoding=UTF-8

      but that did not change a thing.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            clerum Cody Lerum added a comment -

            Christoph, I added some tests for special chars but I'm unable to expose what is going on.

            https://github.com/seam/mail/commit/85c5eca0fe652f209b4bc83f744852c3191c8e43

            Can you take a look at these tests I added, and see if you can add one to reproduce your issue?

            Show
            clerum Cody Lerum added a comment - Christoph, I added some tests for special chars but I'm unable to expose what is going on. https://github.com/seam/mail/commit/85c5eca0fe652f209b4bc83f744852c3191c8e43 Can you take a look at these tests I added, and see if you can add one to reproduce your issue?
            Hide
            langerc christoph langer added a comment -

            I will take a look at it at the weekend. Thank you!

            Show
            langerc christoph langer added a comment - I will take a look at it at the weekend. Thank you!
            Hide
            langerc christoph langer added a comment -

            is there a fast way to run the tests with my mailserver / user settings?

            Show
            langerc christoph langer added a comment - is there a fast way to run the tests with my mailserver / user settings?
            Hide
            clerum Cody Lerum added a comment -

            Not really.

            Your best bet is to run the mvn verify command in the project

            Show
            clerum Cody Lerum added a comment - Not really. Your best bet is to run the mvn verify command in the project
            Hide
            clerum Cody Lerum added a comment -

            this may have bee resolved with SEAMMAIL-35

            Can you try building off https://github.com/seam/mail and see if that fixes your issue?

            Show
            clerum Cody Lerum added a comment - this may have bee resolved with SEAMMAIL-35 Can you try building off https://github.com/seam/mail and see if that fixes your issue?

              People

              • Assignee:
                clerum Cody Lerum
                Reporter:
                langerc christoph langer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development