Project

General

Profile

Actions

Bug #71557

closed

EXT:form - Form error message bad utf-8 encoding

Added by Stano Paska about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2015-11-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

Description

When error message contains utf-8 characters, they will be messed up (see appended file).


Files

form_error_message.png (28.4 KB) form_error_message.png Stano Paska, 2015-11-13 13:42
Actions #1

Updated by Björn Jacob about 9 years ago

  • Subject changed from Form error message bad utf-8 encoding to EXT:form - Form error message bad utf-8 encoding

Thank you for your report. We'll investigate it.

Actions #2

Updated by Stano Paska about 9 years ago

I patched it already, but I am not able to commit it in review :-(

Actions #3

Updated by Gerrit Code Review about 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44704

Actions #4

Updated by Björn Jacob about 9 years ago

Thx. We'll review it. Everything is fine with the process of pushing. Don't see a problem. What do you mean?

Actions #5

Updated by Gerrit Code Review about 9 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/44704

Actions #6

Updated by Stano Paska about 9 years ago

It is ok now. I had bad default author's email address in my global git config...

Actions #7

Updated by Björn Jacob about 9 years ago

Okay. I've also changed the commit message. If you have to push a further patchset, please be so patient to use this "new" one. Thx.

Actions #8

Updated by Björn Jacob about 9 years ago

Okay, hard to reproduce. Thanks to Morton we've found out. Use the following form for testing:


enctype = multipart/form-data
method = post
prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = your@mail.com
        senderEmail = your@mail.com
    }
}
layout {
    elementWrap = <div><element /></div>
}
10 = TEXTLINE
10 {
    type = text
    name = lalala
    label {
        value = Edit this label
    }
}
20 = SUBMIT
20 {
    type = submit
    name = 3
    value = Submit form
}
rules {
    1 = required
    1 {
        showMessage = 1
        message = ÄÖÜߊ š Ÿ Ž ž
        error = äoüߊ š Ÿ Ž ž
        element = lalala
    }
}

Actions #9

Updated by Stano Paska about 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #10

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF