Forums

Big trouble in little characters (15 posts)

  1. Hjorthen
    Member
    Posted 5 years ago #

    Okay, this problem started because my feed wouldn't validate. Small but annoying problem.

    Being real stupid I tried changing the encoding for pages and feeds from UTF-8 to UTF-7. That didn't do me any good, and the result is a bigger and more serious problem.

    You see, for some reason I cannot change the encoding back to UTF-8 again. I daresay that this temporaly (hopefully) has destroyed my blog to some extent.

    What happens is this:

    I go to options-reading, and I try to put in UTF-8 instead og UTF-7. and I press the Update Options button. I get asked if I'm sure that I want to edit my settings, and I reply with a yes. Then I suddenly find myself on a page that declares that my options have been saved, and below that faulty statement there is a list of all the options. Going down the list of options I find blog_charset on two places. One of them says UTF-8 and the other says UTF-7. I can try and change the other one all I want and update the settings, but everytime I try it just returns to UTF-7 again.

    I've used WordPress on a different project earlier, and still do, with no problems. But this is a rather fresh installation, and so far I've had several small and irritating problems. But this one is BIG. Anybody know of a cure?

  2. maerk
    Member
    Posted 5 years ago #

    Two plugins might help.

    Curly enc:
    http://joahua.com/blog/2005/06/04/curlyenc-03

    And, to enter symbols in posts, I wrote Character Tools:
    http://beingmrkenny.co.uk/wordpress/plugins/character-tools/

  3. Hjorthen
    Member
    Posted 5 years ago #

    The Plug-ins look good, but why aren't I able to change back to UTF-8?

  4. maerk
    Member
    Posted 5 years ago #

    I'm not sure... Have you tried clearing out your cache, it might be something to do with cookies and old forms. But I can't be sure. Do you have access to phpMyAdmin -- you can just go in and edit the option in your database direct!

  5. Hjorthen
    Member
    Posted 5 years ago #

    Yeah, clearing the cache didn't help, and as far as I can see via phpMyAdmin the mySQL database is set to use UTF-8.

    Hmmm...I'm in overmy head here. I'll call for backup:-)

  6. maerk
    Member
    Posted 5 years ago #

    Where did you say you were seeing the two instances of charset? In your options page, or in the database itself?

  7. Hjorthen
    Member
    Posted 5 years ago #

    In my WordPress options page. I can change one of them, but not the other. It just gets returned to UTF-7 everytime.

  8. maerk
    Member
    Posted 5 years ago #

    Hmm that seems very odd ... I only have one charset option, I don't see why you should have two. Could you post a link to a screenshot of the options page?

  9. Hjorthen
    Member
    Posted 5 years ago #

    Sure. I too have just one charset option on the reading option page, but when I change that to UTF-8 and presses the apropriate button I get directed to a new options page wich you can see a picture of here: (Bad picture but you get an idea)

    http://hjorthen.nfshost.com/bilder/options.jpg

    And for some reason I'm not allowed to change the charset option here even though it tells me that the the settings has been updated.

    I wonder if the installation has been messed up in some way.

  10. maerk
    Member
    Posted 5 years ago #

    Wow, I've never seen anything like that before!

    That looks like a bug. As far as I can tell, there's something not right with your WordPress installation. You could try re-uploading the wp-admin files, but if that doesn't work I would submit a bug report.

    More information about submiutting bugs on the codex:
    http://codex.wordpress.org/Submitting_Bugs

  11. manstraw
    Member
    Posted 5 years ago #

    you've got more than one duplicated field. you might have duplicated tables or fields within tables inside your database. I would use phpmyadmin to have a look at the tables see what's there. compare it to a virgin installation. if it's borked, I would make backups, see if I can repair the database (dropping redundant tables etc.) and then do a complete reinstall. this could be messy. I think it needs someone with much more knowledge of wordpress than I have to properly advise.

  12. Hjorthen
    Member
    Posted 5 years ago #

    Yeah, think something was rather seriously messed up here. Fortunately I had a fresh backup, so I decided to surrender and just delete the blog and then re-install it. I'm back on track now, and this time I don't think I'm gonna mess around with the charset:-)

    Thanks for your help guys!

  13. manstraw
    Member
    Posted 5 years ago #

    well, good thing you had a fresh backup. changing the charset shouldn't do that. I'm curious to know what happened there, but it's understandable you don't want to try and reproduce it! ) anyway, glad you're sorted.

  14. bongkph
    Member
    Posted 4 years ago #

    Hi, I just stuck on the same problem... I am seeing garbled characters after imptrting some blogs. So I think changing charset is the answer, but not. I cannot revert it back to utf-8. The same thing happened as the image posted above. Hope someone can help. Thanks

  15. moshu
    Member
    Posted 4 years ago #

    Next time don't "think" what the answer is. Just read before doing anything.

    And if you have the same bad result as the original poster - follow what he did: delete and import it again and don't touch the charset.
    The garbled characters come from the different version of MySQL. You can't really do anything about it: it is not a WP issue, it's a MySQL issue.

    Eventually, when installed again, you could try the "search and replace" plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic