My Subscriptions

No active or expired subscriptions. View Available Subscriptions

News Feed

Receive our Newsletter

Advanced Search

Pages: [1]
Print
Author Topic: UTF-8 problem  (Read 670 times)
pedrakos
Newbie
*

Karma: +0/-0
Posts: 2


View Profile Email
« on: October 22, 2007, 07:12:11 PM »

When I create an event with special spanish characters, those special characters transforms in strange characters when the event is viewed. My site is using UTF8 encoding and it seems that events are saved with ISO encoding in database.


Does JCal supports UTF8? How can I fix this?
Logged
Mackelito
Newbie
*

Karma: +0/-0
Posts: 4


View Profile
« Reply #1 on: November 19, 2007, 03:36:07 PM »

seems like it doesn´t support utf8
Logged
V-man
Administrator
Hero Member
*****

Karma: +15/-3
Posts: 2197


Ignorance is curable, stupid is forever.


View Profile
« Reply #2 on: November 19, 2007, 03:37:37 PM »

What editor are you using?
Logged

*** Please read this post and the FAQs before posting in the forum. ***
*** Documentation links: JCal Pro | Advanced Search ***

Support questions via PM or e-mail will be ignored.
zen
Newbie
*

Karma: +0/-0
Posts: 4


View Profile Email
« Reply #3 on: July 04, 2008, 09:32:06 PM »

This happens in my event description.
The site's encoding is UTF-8 and I'm using JCE editor.

For example, when I use bold (<b>) in my description, it's saved as "&lt;b&gt;" in the database.
Logged
zen
Newbie
*

Karma: +0/-0
Posts: 4


View Profile Email
« Reply #4 on: July 05, 2008, 11:18:07 AM »

In my case, I used the DeRal's script file (http://dev.anything-digital.com/Forum/?topic=70.msg274#msg274) and it fixed all the bracket issues in the database.

In the post there was a mention that the bug was going to be fixed in the next release (the thread is from 1.0 beta time). Apparently this bug is still in the current version (1.5).

Is this planned to be fixed in the next update?

This script does the fixing, but you have to run it manually. It would be nice to have this integrated in the JCal system so it's fixed automatically.
« Last Edit: July 05, 2008, 11:19:47 AM by zen » Logged
emagin
Newbie
*

Karma: +1/-0
Posts: 14


View Profile
« Reply #5 on: July 11, 2008, 11:38:53 AM »

I've tried both 1.5 stable and 1.6x beta and both have the same problem.
I think this is related to apostrophes not working properly.
Also, does the script you refer to from other thread fix just the body content or also the titles?
Logged

JcalPro 1.6.0 b.176  Th:Default
J! 1.015  MySql 4.1.22 [DB latin-1]  PHP 5.2.0  Apache/1.3.37
zen
Newbie
*

Karma: +0/-0
Posts: 4


View Profile Email
« Reply #6 on: July 11, 2008, 11:54:36 AM »

It's specifically designed to correct the description area, but you might be able to modify it to correct the title field as well.

If you are after the same thing as me (fixing the title output in events-rss.php: http://dev.anything-digital.com/Forum/1.5.x-General-Discussion/1086-RSS/Page-2.html), I added CDATA in the title to fix the output.

<title><![CDATA[".$row['title']."]]></title>
« Last Edit: July 11, 2008, 12:03:16 PM by zen » Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)