Special characters »
FERDY CHRISTANT - SEP 23, 2004 (06:37:42 PM)
If you're using HTML to create your forms, by default, entering special characters in input fields will not be processed correctly. You'll be left with the ugly black squares once you save them. But if you add this..
accept-charset="UTF-8"
..as an extra attribute to your form tag, everything works like a charm. Great tip, thanks Johan!




Comments: 3
COMMENT: THOMAS POVLSEN
SEP 30, 22:22:20
Inserting the "UTF-8" instead of "ISO-8859-1" as value in the encoding attribute for the xml tags also does the trick here.
Good job Ferdy...keep it up.
Looking forward to version 1.0.. «
COMMENT: RUBEN ASK
NOV 18, 2008 - 17:07:00
We have the problem with local countryspecific characters.
The edit form has that extra accept condition but I still can't get local chars to work.
" name="frmWBlog" enctype="multipart/form-data" accept-charset="utf-8">
I tested with ISO-8859-1 as well.. (tested both the edit as well as the html_header subform.
When I use UTF-8 and check the field-value in notes on the doc I See the "black box" instead instead of ü or ö. When I used the iso-8859-1 I saw that the values was displayed "correct" in notesdoc but the browser had manually to be set to encode "western europe".
This is tricky... «
COMMENT: RUBEN ASK
NOV 18, 2008 - 17:08:16