Importer converted characters wrong!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kirius
    New Member
    • Apr 2004
    • 22

    Importer converted characters wrong!

    All posts that have the character & somewhere in them has that character converted to &

    Is there anyway I can mass fix this? Running an SQL perhaps?
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    What importer for what system?

    Comment

    • mOdEtWo
      Senior Member
      • Dec 2003
      • 334
      • 3.7.x

      #3
      I've noticed this aswell. I converted from phpBB2 to vB3 with the 1.6 version of ImpEx.

      All of my > shows up as html code instead.
      meow

      Comment

      • Jerry
        Senior Member
        • Dec 2002
        • 9137
        • 1.1.x

        #4
        Originally posted by kirius
        All posts that have the character & somewhere in them has that character converted to &

        Is there anyway I can mass fix this? Running an SQL perhaps?
        In the tools folder there is a script called, cleaner.php.

        At the top there is 3 things (after all the $Db_target-> stuff).

        Code:
        $do_posts = true;
        $do_sigs = true;
        Choose if you want signatures, posts or both to be parse.

        $replacer = array(); Currently with some QUOTE clean up in it. You can put as many key, pair values in here as you want, like this :

        Code:
        $replacer = array('&' => '&');
        Or this :

        Code:
        $replacer = array('&' => '&', 'Moo' => 'Baa', 'w00t' => 'Weee');
        Be aware that this will parse everything and if it can find the key value any where it will place it with its pair.
        I wrote ImpEx.

        Blog | Me

        Comment

        Related Topics

        Collapse

        Working...