Pages (2):    1 2
Administrator
Administrator
acrylian   28-07-2009, 09:38
#11

Be sure that your database really also uses UTF8. The encoding of a table does not meant that the title field for example is the same. Try to clear the database and create the tables new.

[i] I btw re-updated to 1.2.5 again. Localisation files in this version are not yet completed...? ;-)[/i]
The German translation is always complete for an official release as I maintain it myself.

Member
Member
ppfeffer   10-01-2010, 21:56
#12

Hi all,

after fixing serveral locale problems on the server ( not all locales needed for http accept language were installed in the server) i still fighting with the same problem:

the site zp-core/admin.php delivers good UTF-8 pages with displaying the right german characters in the translation "Überblick".

visiting the site zp-core/zp-extensions/zenpage/admin-news-articles.php only ISO-8859-1 coding with content-type charset=utf-8 is delivered and the special character are not displayed correct.

I checked this with zenphoto 1.2.8 [4881] and zenpage 1.2.7 on a new database with collation = utf8_general_ci.

All stuff with zenphoto seems right but using zenpage causes problems.

Any ideas?

Administrator
Administrator
acrylian   11-01-2010, 10:51
#13

I have not noticed that. Just to be exact: What excatly is not displayed correctly? The fixed text from the backend or the the actual content/titles etc. of the articles? Are the tables and the fields of those tables (strangely both can be different for whatever reason) for Zenpage really in utf-8 encoding?

Member
Member
ppfeffer   13-01-2010, 23:15
#14

Hi Acrylian,

mysql 5.1.37 runs the db with all tables and the char-fields with utf8_general_ci / uft8_unicode_ci. Yes the fixed description of the tabs or the labels of the action-buttons are not displayed correct. I have also problems with special chars in the message text: I create a news article with special chars inside with the wysiwyg-editor and press save. After reload the text ends with the last char before the special char. I activated the debug in functions-i18n.php but can't see obviosly errors. I reinstalled german locales on the debian ... no effects, no ideas left.

Member
Member
ppfeffer   13-01-2010, 23:45
#15

hm, when writing the special chars with phpmyadmin into zp_zenpage_news.content it's display correct. maybe this can be a different problem, toggle editor shows options ('content_en_us')

Member
Member
sbillard   14-01-2010, 00:09
#16

The symptom of the text being truncted at the special character is an indication that the character set being supplied the database is not what it is proported to be. For instance, if you save an ANSI ö into a UTF-8 database it will be an invalid character and truncate the string.

Member
Member
ppfeffer   14-01-2010, 21:08
#17

Great it works! I changed the zenphoto charset from UTF-8 to western europe(ISO) and now no text is truncated nor the labels in the backend displays wrong character. I don't have to understand it :-) many thanks!

Member
Member
sbillard   14-01-2010, 21:22
#18

So, therefore, your database is expecting western european(ISO) in spite of what the the tables indicate.

Pages (2):    1 2
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.