![]() |
|
utf-8 special characters zenpage - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: utf-8 special characters zenpage (/thread-5292.html) |
utf-8 special characters zenpage - BertSimons - 2010-06-06 I started working on a new site, during install problems occured with: mbstring.internal_encoding and magic_quotes_gpc settings zenphoto installed though but after install I was not able to insert special characters into my zenpages like ë,´, etc. Asked the host to set mbstring.internal_encoding to UTF-8 and turn magic_quotes_gpc off. next thing I did was check the mysql database.. so I started wondering what could be the cause.. and while checking just discovered that in the zenphoto album descriptions, image descriptions I can insert special characters like ë, etc !!!! I just cannot insert them in the zenpage content and zenpage extra content fields.. another test: inserting special characters directly into the zenpage content data field in the Mysql table works, and the text appears in the zenpage admin part.. but then when I update the page the text dissapears and afterwards the field in the table is also empty (except for an ´´ ) Acryllian..we have a problem! inlogcodes can be provided.. utf-8 special characters zenpage - acrylian - 2010-06-06 I am sorry, I have no idea and I can't reproduce it locally and on my test site: http://zenphoto.maltem.de/pages/tinyZenpage Did you maybe do something to the tinymce configuration? Try to disable that and try then utf-8 special characters zenpage - BertSimons - 2010-06-06 no also with tiny mce disabled no result.. maybe you can see for yourself http://www.so-low.nl/zp-core/admin-edit.php? note: the index.php is the old site I have to rebuild.. so I disabled the zenphoto index.php but you can see what happens in the admin part... utf-8 special characters zenpage - acrylian - 2010-06-06 Login does not work. If you prefer to send a mail about the login, click on my profile's link. I don't think that anything has been changed on those parts for 1.3 utf-8 special characters zenpage - sbillard - 2010-06-07 The database needs to use UTF-8 or these characters will not work. That SHOULD be the case, though. But a good thing to check. If the string is being stored up to, but not including the ë character then that is an indication that Zenphoto and the Database have a misunderstanding as to what the character set should be. utf-8 special characters zenpage - acrylian - 2010-06-07 I have checked both locally on my server and on my live space are utf8. utf-8 special characters zenpage - BertSimons - 2010-06-07 sbillard here you can see some screendumbs of phpadmin of the database http://www.bertsimons.nl/zenphoto/index.php?p=pages&title=collation funny thing is that I still don have any problems using/saving special characters in the album/images descriptions but only in the zenpage content/extracontent.. utf-8 special characters zenpage - Jonas - 2010-06-07 If you had errors when installing it, and then fixed the cause of the errors, maybe you should re-install it so that you are sure the errors don't affect your install (if you haven't done so already). Because I used zenpage with special characters without trouble before.. BTW, I see that you are missing your tag, and the in your theme, which can be important when using special characters. utf-8 special characters zenpage - BertSimons - 2010-06-07 Hi Jonas I too used zenphoto on several servers before without problems, itś only this clients server that is giving the problem.. and above link is not on the domain concerning the problem.. utf-8 special characters zenpage - Jonas - 2010-06-07 Hi Bert, Ah okay. I know missing the those tags would not be the cause of course, but just thought I'd mention it. utf-8 special characters zenpage - BertSimons - 2010-06-07 I solved it.. I think..hope.. I added PHP_VALUE mbstring.internal_encoding UTF-8 to the end of my .htacces file end now I am able to insert special characters.. so now I only wonder why the suggested change by zenphoto setup to set mbstring.internal_encoding to UTF-8 did not do it´s proposed job.. I just hope the htacces thing keeps functioning for now.. utf-8 special characters zenpage - acrylian - 2010-06-07 That is important, too. Encoding stuff is quite "complicated" as there are several places to set that... utf-8 special characters zenpage - sbillard - 2010-06-07 The internal encoding string applies just to strings returned from PHP functions like |