Am not a really programmer, am a web/flash designer :) But thanks for a nice words ;)
Am not a really programmer, am a web/flash designer :) But thanks for a nice words ;)
It's all done! It works, as Yutti said.
One thing only. I was not smart enough to complete the item 2) in his description, so he had to give me extra instructions. The code shoule be changed so:
AFTER the string
global $use_htmltrans, $wp_htmltrans, $wp_htmltranswinuni;
we put: /*
AND BEFORE
$content = str_replace("<br>","
",$content);
$content = str_replace("<hr>","<hr />",$content);
we put: */
Now it's Ok.
Thank you so very much for your generous help!
Anton.
Thank you a lot, guys, for your help. I've patched the version and uploaded the patched source on my site. If anyone interested - see this article:
http://doncho.net/blog/index.php?p=4
and this article (about how I missed to patch the RSS feeding)
http://doncho.net/blog/index.php?p=8
On that article you will find the patched version, available for download.
Why win-1251?! What for?! You might've had to do the htmlentities patching in 0.72, (I don't remember if I did that or not) but not in 1.01.
Just replace all occurences of iso-8859-1 with utf-8 throughout the source, set the use_htmltrans option in configuration to false, set rss language to ru, and it works right out of the box, no further changes necessary, and certainly no patches. You just enter your blog entries in utf-8 and it stores them like this with no problems. And it doesn't limit you to cyrillic. Worked for me just fine since the last upgrade.
Getting the blog by email to work with cyrillic, now that takes a lot more work.
This topic has been closed to new replies.