Prime 357

We'll learn something

Site Menu

  • Home
  • Recent Posts
  • Forum
    • Programming Languages
      • C++
    • Website Design & Content Management
      • Wordpress >> Drupal
  • Blogs
  • Topics
    • C++
    • Changing hosts - Dummies Guide
    • Wordpress >> Drupal
  • Download Centre
  • Contact us
Home Wordpress to Drupal Wordpress 2.1 - 2.2 Program - Converter Problems, Issues and/or Bugs


Image - OpenID

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Navigation

  • Recent posts

Topics

  • C++ (The Book)
  • Changing Hosts - a Dummies Guide
  • Wordpress to Drupal
    • Wordpress 2.1 - 2.2
      • General Requirements
      • Program - Converter
        • Import
        • Search and Replace
        • Versions
        • Problems, Issues and/or Bugs
          • Character Encodings
      • b2evolution
      • Wordpress
    • Wordpress 2.5

Recent comments

  • Got it solved This page here
    4 hours 32 min ago
  • Links working
    1 day 4 hours ago
  • Thanks... I may be able to
    1 day 10 hours ago
  • 3306 by default
    1 day 20 hours ago
  • Is this the right place to
    1 day 20 hours ago
  • Figured
    3 weeks 6 days ago
  • I'm guessing at this stage
    3 weeks 6 days ago
  • WordPress MU?
    4 weeks 5 hours ago
  • Thanks
    10 weeks 1 day ago
  • I'm running the conversion
    11 weeks 5 days ago

New forum topics

  • What should the port number be
  • WordPress MU?
  • funny little bug in mac version
  • Error: Unable to Insert into Node_revisions table when converting from wordpress 2.6.0 to drupal 6.4
  • index.php?
more

Who's online

There are currently 0 users and 0 guests online.

Who's new

  • oODeathStormOo
  • leruffiant
  • Emtee
  • mnogodet
  • ZioMimmo

Character Encodings

  • View
  • Revisions
Submitted by Steve on Sun, 8 Apr, 2007 - 22:29
  • CMS
  • RealBasic
  • Drupal 5.x
  • encoding
  • Wordpress 2.1/2.2

An encoding problem has reared its ugly head and giving me no end of grief.
At the Wordpress end, type in (or more commonly paste in) this line of text:-

“Mares eat oats–and does eat oats—and…little lambs eat ‘ivy’.”

I'll point out that the double quotes starting and ending the line of text are not double quotes, they are in fact curly quotes. Try and find them on your keyboard. Chucked in for good measure are a few other non-standard type characters.

Within Wordpress it is correctly displayed as above, but at the MySql database level it is stored like so:-

“Mares eat oats–and does eat oats—and…little lambs eat ‘ivy’.”

You will notice that the awkward characters have been replaced by gibberish (technical term for crap characters).

The converter program merely copies data from the Wordpress MySql database and thus regarding the above, copies the line of text containing the gibberish (translated characters of the awkward characters) into Drupal.

I'm currently in the process of coming up to speed with character encodings and hopefully this will be addressed."

If anybody has any solutions or advice in relation to this topic I'd be more than happy to take it on board.

For those interested I've started a thread in relation to the above over at the Real Basic Forums

‹ Problems, Issues and/or Bugs up b2evolution ›
  • Printer-friendly version
  • Login or register to post comments
  • 270 reads

 Subscribe in a reader

free hit counter


RoopleTheme