Fork me on GitHub

UTF-8 support  Bottom

  • When I put on MySql 4.1 last year we were suddenly faced with a situation where all Japanese code was crippled. We are running Japanese in UTF-8 and of course the internal code was set to LATIN1-sweden. So, when the database was dumped the MySql was assuming that the data is in Latin1 and produced a mess.
    At that time a wrote a small conversion utility and also changed the character set using "SET NAMES 'UTF8' " in pnAPI.

    Recently I installed PN 800 M3 and surely the character set was again Latin1. So, I had to convert again.
    I checked pnAPI and the Adodb code and it seems that the mysqli driver has a function 'SetCharSet'.

    Would it be possible to add a variable to the installation dialog asking for the character set to be used?
    Alternatively, where could I add this manually to the PN code?

    Any comments are appreciated!

    Thanks,
    Bernd
  • +1 for that request :)
  • There is a German manual about how to convert Postnuke to UTF-8 (http://support.pn-cms.de/Article1036.htm)

    UTF-8 will not be part of .8 as there are all ready a lot of new things in .8. But I am sure that UTF-8 is on the devs mental roadmap.

    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • We are using English and Japanese. Japanese has been produced by recoding from the EUC version. English is no problem anyway. German etc requires recoding for special characters to work.

    We have been running PN in UTF-8 since about 2003 - so that is not the problem.
    However, ever since MySQL started to include character set support PN gets installed with the wrong character set for all tables. That's why we have to (manually) convert the database tables. We have a simple tool for this (which works not 100% but 95%) and maybe I should make it available.

    What I was asking for is a possibility to set the default charset (UTF-8 instead of ISO-8859-1) during the installation.

    Thanks,
    Bernd

This list is based on users active over the last 60 minutes.