WordPress.org

Ready to get started?Download WordPress

Forums

From ISO-8859-1 to UTF-8 (4 posts)

  1. Omniscience
    Member
    Posted 6 years ago #

    When I started my WordPress blog I chose to play it in ISO-8859-1 for some reason that I can't remember -- but as far as I know it was just. (It might've been a database thing, but I really don't know.) But, since I don't remember why I did it I see no reason to keep it that way.

    Now, seeing as UTF-8 is "the future" and a broader charset, I thought I should approach the task of converting my blog from ISO-8859-1 to UTF-8. That brings me to a few questions:

    1. Is it really possible?

    2. How, as a Windows user, would I go about to to it?

    3. And what would one need to think about not to miss anything?

    I've got pretty much everything covered when it comes to the .mo language files and converting them back and forth, as well as setting the charset in WordPress and stuff.

    The only thing I can see that I need to do really is convert the charset of all the entries and comments in the database to UTF-8. Can this be easily done?

  2. Jonathan Landrum
    Member
    Posted 6 years ago #

    I may be lost here, but can't you just change that in the admin and be done with it? UTF-8 is more forgiving than ISO-8859-1, so there shouldn't be anything to "convert". If you've got special characters escaped, they'll still show up fine. However, now, if someone leaves a comment in another language using a non-English keyboard, the comment will actually show those characters rather than garbage.

  3. somebaudy
    Member
    Posted 6 years ago #

    I can add my two cents here : just putting UTF-8 instead of ISO-8859-1 in the admin panel will not automagically convert the database from iso_!!59-1 to utf-8

    I've found a script here : http:sungnyemun.org/ Supposedly fixEncodings.py should convert the database to utf-8 but I don't know enough python syntax to get that script to do something on my dreamhost-based blog.

    hope it helps.

    Baudouin

  4. miquelon
    Member
    Posted 6 years ago #

    Hello, we worked on the UTf / ISO RSS issue with languages that have diacritical symbols. We modified a RSS plugin and duplicated it so we would have ISO and UTF possibilities

    http://www.websiteforensics.com/?p=1#more-1

    Blake

Topic Closed

This topic has been closed to new replies.

About this Topic