administration mode

 

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

comment » I have had problems with danish letters in the RSS feeds.

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

comment » Old case.. but since I have inherited one blog from Blogo 1.51 I try to ask here..

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

comment » yeah.. need to manually re-set encoding in my browser to Western Europe to see my comment correctly. «

CREATE A NEW COMMENT
required field
required field HTML is not allowed. Hyperlinks will automatically be converted.
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30