george4net
Member
Posted 5 years ago #
Hello!
I've just set up my wordpress blog and set the encoding to iso-8859-7. The problem is when I submit my post it doesn't save my post and it just saves it as a blank post (blank title, blank message & tags).
When I enter only English characters in the post, it works just fine. The characters are inserted in the database.
This happens only with Greek characters. Please tell me what I need to do.
Thanks in advance,
George.
Why did you mess with the encoding?
utf-8 was "invented" to work with ALL languages.
george4net
Member
Posted 5 years ago #
It didn't worked with utf-8 either. I just submit the form and it doesn't save anything in the table. Like I didn't filled in any fields.
I just tryed on a brand new 2.3 install to copy Greek text in the title field and in the content - it always works.
george4net
Member
Posted 5 years ago #
Hey guys the problem was with mySQL. I am a programmer myself and that never happened to me before. I mean why a form can't insert Greek characters in a table?
And the answers is because of the table collocation. I executed this command:
ALTER TABLE wp_posts CHANGE post_content post_content LONGTEXT CHARACTER SET greek COLLATE greek_general_ci NOT NULL ,
CHANGE post_title post_title TEXT CHARACTER SET greek COLLATE greek_general_ci NOT NULL ,
CHANGE post_excerpt post_excerpt TEXT CHARACTER SET greek COLLATE greek_general_ci NOT NULL
Now it works just fine :)
Thanks guys!