1 kskhater Dec 20, 2005 17:56
3 msafi Dec 20, 2005 19:41
i just read your post more carefully, it might be different from the problem in the thread that i referred you to. sorry if that's the case. the thread might still be beneficial though. it addresses the &#numbers; problem.
4 blueyed Dec 20, 2005 22:38
msafi, can you please try if it's the same on the demo? (http://demo.b2evolution.net)?
The difference between form_text and form_textarea is that form_text() uses format_to_output( .., 'formvalue' ), while form_textarea() does not format to output.
Anyway, something there seems to mess things up.
In Phoenix it's just:
$content = htmlspecialchars( $content ); // Handles &, ", < and >
$content = str_replace("'", ''', $content ); // Handles '
Try to find that in _misc.funcs.php / functions.php and try to disable whatever may be there with you one at a time and reload the page.
I'd like to here what causes it.
5 msafi Dec 21, 2005 02:35
yes, it's the same on the demo. while it let me type and post in Arabic, when i go back to edit the post, this is what i get:
http://msafi.com/pictures/hce.jpg
i will try the tricks mentioned in this thread and the other one sometime soon.
thanks,
6 kskhater Dec 22, 2005 05:08
My be my post above is not clear. In editing a blog you have two input boxes.
1-) Tagline: "$blog_tagline"
2- ) Long Description: "$blog_longdesc"
Both are stored in HEX in the MySql DB.
When you try edit the blog, one comes in Hex the other in Arabic..
Both use
echo $variable, but one is a text input the other is a text area.
while the opposite happen in the post edit tab.
But, here one uses
echo $variable
the other uses
foramt_to_output.
This is why it is a mystery to me :!:
7 kskhater Dec 22, 2005 05:40
The other the thing I noticed is that if I try to edit a comment I get this chars:
هــــــــذه مــــــــلاØـــــــــظـــــØ
Not HEX like when editing post.
But if I write something in the comment editor in arabic, I het HEX.
It is very confusing
mr khater,
check out this thread: http://forums.b2evolution.net/viewtopic.php?t=6531&start=15
blueeyed gave me some hacks that might fix the problem. i have not tried them yet, but i plan on trying them sometime soon. if you beat me to it, please report your results.
thank you very much.