-
AuthorPosts
-
obliat Friend
obliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
July 16, 2012 at 4:16 pm #179141Hi guys, anyone experiences character mismatch with JA Comment.
I do have a cyrillic website (http://www.ecars.bg) and some JA Comments look odd showing weird characters – please see picture. There is probably an encoding conflict, so I’d need some help resolving it. Thanks ahead.
Martin
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 17, 2012 at 9:24 am #461143Hello obliat,
Can you PM me with your site information (your site URL, your site admin account) and your FTP account? So I can diagnose this problem.
BTW, please include this forum thread URL in your PM, so I can follow it.
Best regards.
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
July 18, 2012 at 9:51 pm #461360Ah, thanks Stork – PM sent – nice having your support again 🙂
Still waiting for devs to make JA Bulletin have an option to set time frame for Most viewed K2 items LOL
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 20, 2012 at 4:00 am #461569Hello obliat,
Can you PM me with your phpMyadmin account? I guess your encoding of “comment” table in your database has some problems.
BTW, please include this forum thread URL in your PM, so I can follow it.
Best regards.
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
July 20, 2012 at 8:38 pm #461651Ah well, that could be a challenge – it’s a cyrillic hosting website and it’s lots of clicking until you get to cPanel and phpmyadmin. I guess I’ll have to make screenshots so you find your way trough – let me know so I can do it. Or you can tell me which table in the DB I check collation (encoding).
Thanks
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 21, 2012 at 8:56 am #461708<em>@obliat 331026 wrote:</em><blockquote>Ah well, that could be a challenge – it’s a cyrillic hosting website and it’s lots of clicking until you get to cPanel and phpmyadmin. I guess I’ll have to make screenshots so you find your way trough – let me know so I can do it. Or you can tell me which table in the DB I check collation (encoding).
Thanks</blockquote>
Thank you.I need to know structure of “#__jacomment_items” table. Can you send me its screenshot?
Regards.
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
July 21, 2012 at 9:28 am #461712can’t attach vie PM as it only allows images from url and image is on my desktop so attaching here
Thanks
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 23, 2012 at 10:27 am #461908Thank you obliat for your screenshot.
After 1 day to diagnose your site, I can’t find any problem in code. It ran well on my local host with utf-8 data. So I think your data has problem with utf-8 charset encoding. Please set up a phpMyadmin account and PM me. I need it to help you out.
Regards.
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
July 23, 2012 at 11:15 am #461918Sure, I sent PM – let’s hope it works the way I describe it. I guess we have the issue locally, because we use cyrillic characters…
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
July 30, 2012 at 10:40 am #462586Hello obliat,
Because some your comments have some special character, so they’re displayed as characters with semi-colon ‘;’ at the end. If after these characters have a close bracket ‘)’, they’ll be converted to smiley.
So a temporary solution is you should add a space in front of close bracket in edit mode in back-end if you see problem. Like a sample here: index.php?Itemid=412&option=com_k2&view=item&task=3089:skupo-zarezhdane-elektromobili&id=3089:skupo-zarezhdane-elektromobili#jacommentid:154
I added this problem to our backlog and will ping our developers to resolve it.
Thank you for your report.
Regards.
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
July 31, 2012 at 8:33 am #462690Thanks Stork
Sounds like a reasonable explanation and the only issue is that I won’t be able to tell this everyone who comments you know :laugh:
It’s of course a combo of a symbol and the closing bracket, and the system obviously does not like the cyrillic letters very much LOL
It will be great to have it fixed as it looks weird so thanks for your efforts. I have to come back to the forum all the time now as I don’t get email notifications on replies which I created new thread about 🙂
Best Regards
Stork11 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
August 1, 2012 at 3:25 am #462769<em>@obliat 332396 wrote:</em><blockquote>Thanks Stork
Sounds like a reasonable explanation and the only issue is that I won’t be able to tell this everyone who comments you know :laugh:
It’s of course a combo of a symbol and the closing bracket, and the system obviously does not like the cyrillic letters very much LOL
It will be great to have it fixed as it looks weird so thanks for your efforts. I have to come back to the forum all the time now as I don’t get email notifications on replies which I created new thread about 🙂
Best Regards</blockquote>
Hello obliat,Finally, I resolved the problems (phew). I added following code in to “showSmiley” function in “componentscom_jacommenthelpersjahelper.php”, above “foreach ($array as $k => $v)” line:
[PHP]$str = html_entity_decode($str, ENT_QUOTES, “ISO-8859-1”);[/PHP]Please check and confirm the same 🙂
Regards.
1 user says Thank You to Stork11 for this useful post
obliat Friendobliat
- Join date:
- December 2010
- Posts:
- 416
- Downloads:
- 12
- Uploads:
- 64
- Thanks:
- 108
- Thanked:
- 31 times in 1 posts
August 1, 2012 at 7:18 am #462803I checked out one of the articles with comments showing those weird characters and they are gone so FANTASTIC – thanks a lot – I guess all Bulgarian, Russian and whoever uses cyrillic is going to be fine with comments now.
Awesome
Thanks a bunch!
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 2 voices, and was last updated by obliat 12 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum