Hi When I input polish letters: ąęłźć etc. in descriptions of albums or photos
in my new 1.2.1 zenphoto gallery I get:
?…?…?…?™?™?™?™??€š??€š??€š ?…?…?…źźź?‡?‡?‡
Samething is wrong. I have new instalation of zenphoto and UTF-8 encoding in options and zp-config.php.
You can try this at:
http://www.fotostacja.pl/nowa/zp-core/admin.php?page=edit&album=nowe&saved&tagsort=0#tab_albuminfologin:miron
pass:miron
Regards
Comments
http://www.zenphoto.org/support/topic.php?id=4035
I think that's the same problem.
1. Use the nightly build
and
2. Update the table in the `sanitize_strings()` function to include the characters you are having problems with.
I am trying to figure out what you mean by point nr. 2. where can I put my special characters.
as I am having this same problem and I just installed a fresh nightly build to play with, put my database as UTF-8 before starting and a closer look afterward I can see all the tables are UTF-8, not like my previous test had some Swedish tables.
What I get on the web and in the database is
`
Prufa að setja à slenska stafi à þetta er UTF-8 að virka à áóúéþðö
`
but it should look more like
`
Prufa að setja Ãslenska stafi à þetta er UTF-8 að virka Ãáóúéþðö
`
I am still running into identical problems as 2 posts before.
I have updated to `[2753]`
During the update the setup asked me to change my php.ini file so I did, to this.
`mbstring.internal_encoding = UTF-8 ;`
My database has always been set to UTF-8. I am running 2 test installations and I have the same problem on both. One of them was installed some time ago and has been updated a lot and still has some Swedish encoding on tables in database. and then 1 who I installed after I changed the default encoding in the database to UTF-8 so all its tables do have UTF-8.
php_value mbstring.internal_encoding UTF-8
no warning anymore and accented characters appear ok..
I am using latest build:
http://www.zenphoto.org/files/nightly/zenphoto-2008-10-18-trunk.zip
When I upgrading my zenphoto there is information that:
Setting mbstring.internal_encoding to UTF-8 in your php.ini file is recommended to insure accented and multi-byte characters function properly.
When I am changing .htaccess in my gallery folder and adding:
php_value mbstring.internal_encoding UTF-8
I see Eror serwer 500
What I can do moore to see polish characters ?
in dates etc I still dont have polish strings
could you please tell me where sanitize_strings() is... As I asked before and did not get that answered. because I would like to add áéÃóúðþæö to there. Thanks
Is there a manual way to put it back in for the time being or will the wait for a fix be the way to go?
In my version it looks like this:
a => (href => () title => ())
abbr => (title => ())
acronym => (title => ())
b => ()
blockquote => (cite => ())
code => ()
em => ()
i => ()
strike => ()
strong => ()
ul => ()
ol => ()
li => ()
p => ()
Å› => ()
Ä™ => ()
ź => ()
ż => ()
Å‚ => ()
Å„ => ()
ó => ()
Ä™ => ()
Ä… => ()
ć => ()
Is there a manual way to put it back in for the time being or will the wait for a fix be the way to go? I am wondering about my own web page as it is on hold.