Wrong convertion on html_entities in text_fields

18 years 4 months ago #1838 by Viames
Hello, I just looked at strange behaviour after an user used the char "&" (ampersend) into a text_field of his profile. The char was trasformed into html_entity:

& amp;amp; (without that space)

Into the database it look as & amp; (without that space) then when shown on site it looks like above.

I've done a test in my Joomlapolis profile and ampersend looks wrong also there (look at my profile > Personal Info > Other Languages). The field was filled with
"just a test of & (ampersend) and à è é ì ò ù < >"
and instead it shows
"just a test of &a mp; (ampersend) and à è é ì ò ù &lt; &gt;"

This problem affects just text_fields because on text_area the html entities are correctly coded.

CB italian translation & testing
translations on joomla.it
homesites: Viames.it , Crotone on Web

Please Log in to join the conversation.

18 years 4 months ago #1912 by beat
Yes.
Known bugs. Already artifacted:
developer.joomla.org/sf/go/artf2355?nav=1
and
developer.joomla.org/sf/go/artf2289?nav=1

This is because this site uses UTF-8 and not ISO-8859-1.

Temporary corrections lists for the use of non-ISO-8859-1 charsets are in another thread on this forums.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.276 seconds

Facebook Twitter LinkedIn