Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004

    Question Unanswered: Set Character Set - international characters

    - Apache 2.0.48
    - PHP 4.3.4
    - MySQL 4.1

    Im trying to run Polish character set (Latin2) out on my site, and here is what I did:
    1. I have changed HTML encoding to iso-8859-2
    2. I have added a line to php.ini -> default_charset = "iso-8859-2"
    3. and Apache by default did have Latin2 enabled.
    4. I have added the following into my.cnf


    What Im experiencing:

    - Characters appear OK on the page
    - When I simply save and retrieve values/characters from the database they also look OK (database saves those as some weird characters)*
    ? But it seems that more complex queries (involving sorting) do NOT work.

    Im guessing that a DEFAULT CHARACTER SET would need to be changed in MySQL but I dont know how to do it from command line or some other way. Is there anything else I need to do to make this thing work?

    Any HELP would be greatly appreciated since Ive been looking for an answer for over 2 weeks. THANKS!!!

    * also when I tried to create a backup the text file (output) did not contain special characters.

  2. #2
    Join Date
    Jul 2004
    Dundee, Scotland

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts