Closed (fixed)
Project:
Node import
Version:
5.x-1.2
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Dec 2007 at 01:07 UTC
Updated:
12 Nov 2008 at 21:23 UTC
Hi Drupal Community,
I am trying to migrate the content from one website into another. When I import my CSV (in UNIX UTF-8) it converts " into ? on the import preview. I also get a 'square' in the place of where every new line (hard and soft returns) is supposed to start.
My original file was an XLS, created on a Macintosh using MS Excel. I then opened it in Text Wrangler to convert it to UNIX UTF-8.
Does anyone know what I am doing wrong? The original XLS has markup for HTML.
I appreciate anyone looking into this!
m
Comments
Comment #1
tanoshimi commentedAre both your PHP language environment and MySQL (or whatever DB you use) collation also set to UTF-8?
Comment #2
Memeshift commentedI figured it out. While the exports were correct in format - the thing that solved it was going through in a plain text editor and changing those to straight, regular quotes - that fixed it. TinyMCE (along with my Input Format settings) changed them back to smart quotes after I imported them though - nice:)
Comment #3
Robrecht Jacques commentedVersion prior to 5.x-1.6 used fgetcsv PHP function to parse the CSV files. This function is not UTF8 safe and created a lot of problems with UTF8 characters. The latest version doesn't use fgetcsv anymore and shouldn't have this issue. If, after testing the latest version, you think this is still an issue, reopen it.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.