![]() |
|
character set. - 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: character set. (/thread-4898.html) |
character set. - khaled.alsibai - 2009-03-25 Hi everyone. my gallery mostly English but some visitors reply and add comment in Arabic, but the words don't appear correctly. i have tried to use other character set than Unicode-UTF 8 but its worse!! can anyone help please? as the comments are so important. character set. - sbillard - 2009-03-25 Hi. You haven't told us the version of zenphoto you are using. All character sets should work so long as:
2 may be an issue if you have migrated from one of the earlier versions of Zenphoto. In that case the database fields are left at whatever they were set to, most likely a version of Ansi. We do not convert them to UTF-8 because if there are actually Ansi accented characters or other multi-byte characters stored, they would get garbaged.If you know that there are none of the above characters, just change the encoding of the database table. If there are such characters you will have to migrate the data. character set. - khaled.alsibai - 2009-03-26 Hi sbillard
i dont think i migrated anything because i installed this version and never updated since then.. here is some info about the database: and here Installation information
Active plugins:
Active filters:
character set. - sbillard - 2009-03-26 All the setup should be correct given the above. Have you tried other (non Arabic) characters with accents? Any warnings from the setup program? character set. - khaled.alsibai - 2009-03-30 no i did not. but it seems that i can write Arabic correctly on some PCs and not on others! how could i check the setup warnings? character set. - sbillard - 2009-03-30 When you run setup it will show you any warnings on the system check list. Do you mean you can write Arabic on some client PCs and not others or on some Server PCs and not others. If it is the Server PC, setup may show you the warnings. If it is the client PCs, it would be a configuration of the browser. character set. - khaled.alsibai - 2009-04-06 nothing wrong with the setup besides the problem with client PCs i have another up problem. over the sudden, RSS is not working! please check the RSS link character set. - acrylian - 2009-04-06 The feed is working for me. character set. - khaled.alsibai - 2009-04-06 how come? when i click on it, it gives me an impty page while i have many photos in the gallery and that is on firefox on IE it gives me an error "This feed contains code errors." character set. - acrylian - 2009-04-06 Firefox is a little picky indeed. I use a feed reader named NetNewsWire on Mac. Since you run 1.2.3 you should upgrade to 1.2.4. character set. - khaled.alsibai - 2009-04-06 i was thinking about it but i have no time to do it. plus im afraid something might happen! or is totaly safe to upgrade? character set. - sbillard - 2009-04-06 It is always your choice if to upgrade. However, if you are having difficulties with the version you are running upgrading is your only option. Our fixes always go against the current release. character set. - khaled.alsibai - 2009-04-07 is there an upload order like uploading themes folder first then Zp-core then the root files? or it really dose not matter? character set. - acrylian - 2009-04-07 The order does not matter. character set. - khaled.alsibai - 2009-04-07 then why it gives me a warning that some files are messing and i have to upload them again! since all of them are there.. i believe it dose matter, or its a bug. character set. - sbillard - 2009-04-07 Upload order certainly will not matter on any files not uploaded. What files does it note? You should check first that these files have been uploaded and second that their file times are close to those of the rest of the upload. If you did upload the files separately over a long period of time then you would get this warning. Why not just upload the whole package at the same time? character set. - khaled.alsibai - 2009-04-07 all files uploaded at the same time character set. - wilsul - 2012-11-11 Hi, I found that after a new upgrade some characters in the album description are showing up like: I tried to fix this problem using the following query in SQL: UPDATE zp_albums SET desc = REPLACE(desc, '“', '“'); However I am getting this error: UPDATE zp_albums SET DESC = REPLACE( DESC , '“', '“' ) ; MySQL said: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc = REPLACE(desc, '“', '“')' at line 1character set. - acrylian - 2012-11-11 Your issue is probably the result of some encoding mismatch on your server. THere are several (db table encoding, db fields, connection etc). "DESC" is a reserved keyword in MySQL so you need to place it in back ticks on the SET call. |