Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
Jibberish in a preview on non latin language forum (1 viewing) (1) Guest
TOPIC: Jibberish in a preview on non latin language forum
#35610
Jibberish in a preview on non latin language forum 1 Year ago  
Just upgraded to 1.0.4 from 1.0.3 version.

I run a non latin language website (to be more exact - Hebrew) and use UTF-8 encoding both in template and language files. My DB is configured with UTF-8 collation too.

The upgrade went very well and after that I updated the language file. There was almost no need to update forum template CSS.

The forum works like a charm after the upgrade but the only thing bothering me is that while posting a new topic or replying when I push the Preview button I can't see the message I wrote in Hebrew. Instead I see very strange strings like this one
[code:1]%u05D4%u05D5%u05D3%u05E2%u05EA %u05D1%u05D3%u05D9%u05E7%u05D4[/code:1]
that was intended to be "test message" in Hebrew.

I also tried to use another non latin languages (Russian, for example) and got the same problem.
isranet (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Orot Technologies Location: Israel
Logged Logged
 
www.Joomla-Israel.com - Leading Israeli Joomla Provider
 
 
#35640
Re:Jibberish in a preview on non latin language fo 1 Year ago  
I posted this in the Bug Tracker. Hopefully a fix will reveal itself.
grumblemarc (User)
Platinum Boarder
Posts: 3559
graph
User Offline Click here to see the profile of this user
Gender: Male
Logged Logged
 
 
#35737
Re:Jibberish in a UTF-8 encoding language forum 1 Year ago  
I upgraded to 1.0.4 from 1.0.3 version.

I run a Hebrew language website and use UTF-8.

And I heave the same problem, Jibberish in the message text
ami10oz (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36324
Re:Jibberish in a preview on non latin language forum 1 Year ago  
I found simple solution:

in file /components/com_fireboard/fireboard.php
find the lines (132-136):
[code:1]
$msgbody = smile::«»smileReplace( $message , 0, _CLEXUSPM_LIVEPATH, $ClexusPMconfig->show_smiles);
$msgbody = smile::htmlwrap($msgbody, $fbConfig['wrap']);
header("Content-Type: text/html; charset=utf-8"«»);
echo utf8_encode($msgbody);
die();
[/code:1]

and change with:
[code:1]
$msgbody = smile::«»smileReplace( $message , 0, _CLEXUSPM_LIVEPATH, $ClexusPMconfig->show_smiles);
$msgbody = smile::htmlwrap($msgbody, $fbConfig['wrap']);
$msgbody = ereg_replace('%u0([[:alnum:]]{3})', '',$msgbody);
header("Content-Type: text/html; charset=utf-8"«»);
echo $msgbody;
die();
[/code:1]

My site runs with UTF-8 encoding and this solution worked for me but I didn't check with encodings diffrerent from UTF-8
isranet (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Orot Technologies Location: Israel
Logged Logged
 
Last Edit: 2007/12/29 14:09 By isranet.
 
www.Joomla-Israel.com - Leading Israeli Joomla Provider
 
 
#36517
Re:Jibberish in a preview on non latin language forum 1 Year ago  
It's working. Thank YOU!!! Saved me a lot of time.
spyrosvl (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#36528
Re:Jibberish in a preview on non latin language forum 1 Year ago  
Thank you!! just grade!!!
ami10oz (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#37252
Re:Jibberish in a preview on non latin language fo 1 Year ago  
kauselot (User)
Junior Boarder
Posts: 47
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1974-10-14
Logged Logged
 
Last Edit: 2008/01/04 15:33 By kauselot.
 
 
#45044
Re:Jibberish in a preview on non latin language fo 10 Months, 2 Weeks ago  
[code:1]
[b]isranet wrote:[/b]
[quote]I found simple solution:
[/code:1]

Thank you so much for this, it was driving me nuts:) ...really a shame no-one gave you some karma for this, I was the first one:)
MGLorencin (User)
Try Harder!
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: web
Logged Logged
 
Last Edit: 2008/02/24 02:53 By MGLorencin. Reason: typo
 
Automatic Filter Message : Please follow the forum rules for forum signatures...Thanks
 
 
Go to top