By spamspam74 on Monday, 21 September 2015
Replies 6
Likes 0
Views 1.4K
Votes 0
Hi,

when I make a custom module linked to an event and the event name or any content which will be in the module, contains a character with an accent, strange text like {{MODU appears just below the module. When i remove the accents all is ok.

Does anyone have an idea?

Thank you so much!
Hello,

Can you please post the accents you are trying to use?

And your JEvents suppor info?

Many thanks
Tony
·
Monday, 21 September 2015 23:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

This is the support information:


PHP Version : 5.4.43
MySQL Version : 5.5.42-37.1
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Load JEvents Bootstrap JS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/8.0.7 Safari/600.7.12
Joomla : 3.4.4
component_com_jevents : 3.4.0RC6
module_mod_jevents_cal : 3.4.0RC6
module_mod_jevents_custom : 3.4.0RC6
module_mod_jevents_filter : 3.4.0RC6
module_mod_jevents_latest : 3.4.0RC6
module_mod_jevents_legend : 3.4.0RC6
module_mod_jevents_switchview : 3.4.0RC6
plugin_content_jevents : 3.4.0RC6
plugin_finder_jevents : 3.4.0RC6 (not enabled)
plugin_search_eventsearch : 3.4.0RC6
plugin_system_gwejson : 3.4.0RC6


The accents used is for example é (é ) and it does not matter if I let them in UTF8 (é) or as html code (é )

Thanks!
·
Tuesday, 22 September 2015 08:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you check your Database collation? Is it UTF-8?

Many thanks
Tony
·
Tuesday, 22 September 2015 19:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, all tables are in utf8_unicode_ci.
All other modules and features are doing fine. It is only the output of the custom module.
·
Friday, 25 September 2015 16:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you explain exactly where you are placing the acent's so I can replicate the issue?

Many thanks
Tony
·
Sunday, 27 September 2015 20:42
·
0 Likes
·
0 Votes
·
0 Comments
·
I have found the cause of this and it will be fixed in the next build or JEvents 3.4.0. Thanks for highlighting the issue.

It was caused by looking at string lengths without taking account of the fact that characters could be multi-byte.
·
Monday, 28 September 2015 09:16
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post