Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    Sep 08, 2009 @ 12:47
    Jan Skovgaard
    0

    Danish and special characters

    Hi Richard

    I have had some minor issues with importing special characters from some of my CSV files. It seems like they are not recognized when they are imported. So they are replaced with the "?" sign instead.

    The characters I'm thinking about are of course the danish "æøå" and then characters like '. I just thought I would mention it. It is not something that has been a big issue, because there have not been used that many of the characters in the data I have been importing. But on a larger scale it might could get a bit frustrating.

    Cheers

    /Jan

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Sep 08, 2009 @ 17:13
    Richard Soeteman
    0

    Hi Jan,

    Thanks for reporting this. It's on my bug/todolist.

    Cheers,

    Richard

  • Palle Hansen 143 posts 396 karma points
    May 12, 2010 @ 12:14
    Palle Hansen
    0

    Hi Richard,

    I've just downloaded your package and it's very helpfull. Just got the same problem as Jan. It won't take danish "æøå" and then characters like '. 
    The characters looks strange.
    Have you found a way to get around it?

    Cheers
    Palle

  • Richard Soeteman 4036 posts 12863 karma points MVP
    May 12, 2010 @ 12:16
    Richard Soeteman
    0

    Hi Palle,

    Should be fixed in the current version online. Where did you download it and also make sure that the csv file is saved with UTF8 encoding. Please let me know if it helped you.

    Cheers,

    Richard

  • Ulrich Wagner Gade Ebsen 127 posts 277 karma points
    May 12, 2010 @ 12:56
    Ulrich Wagner Gade Ebsen
    0

    Hi,

    I have faced the samed problems, but when saved with UTF-8, the files imported nicely and preserved danish characters,, ;)

    /ulrich ebsen

  • Palle Hansen 143 posts 396 karma points
    May 12, 2010 @ 13:00
    Palle Hansen
    0

    Hi Richard,
    I got the package from the Umbraco package Repository.
    How do you save with UFT8 encoding. I'm using office 2007

    Cheers
    Palle

  • Richard Soeteman 4036 posts 12863 karma points MVP
    May 12, 2010 @ 14:21
    Richard Soeteman
    1

    Hi Palle,

    I think the package repository isn't updated yet. Please try the version from our.umbraco.org... To check if the file is saved correctly is to open it in wordpad and then select save as. The encoding should be set to UTF-8

    Cheers,

    Richard

  • Palle Hansen 143 posts 396 karma points
    May 12, 2010 @ 14:30
    Palle Hansen
    0

    Great !!, now it works.
    Thanks for quick reply.

    Cheers
    Palle

  • Fredrik Esseen 608 posts 904 karma points
    Jan 16, 2012 @ 15:25
    Fredrik Esseen
    0

    Hi!

    I was looking into using this to import members, but the problem is that it is an old installation of Umbraco; 4.0.2.1 and the version of CmsImport that I have is 1.2.

    Will it work to save the excel file with utf-8 and import or do i have to use another version of CmsImport?

    I dont eant to install the latest version as it isnt compatible with the old version of Umbraco..

    Can I find the right version of CmsImport somewhere?

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Jan 19, 2012 @ 08:47
    Richard Soeteman
    0

    Hi,

    Sorry didn;t see this comment before. I think version 1.2 can import csv with special characters if you store the file as UTF-8 indeed. Excel will not work since that adapter is introduced in 2.0 and the DataAdapter class has changed a bit.

    Email me richard[at]soetemansoftware[.]nl for a package file.

    Cheers,

    Richard

  • Fredrik Esseen 608 posts 904 karma points
    Jan 19, 2012 @ 15:47
    Fredrik Esseen
    0

    It worked nice now :) I have the 1.2 version installed.

    Except one thing: I have a column that is sometimes empty, sometimes contains info.

    If I try to import that column I get an error saying that the field can not be empty. Is this the way it should be according to the code or is it a bug?

  • Richard Soeteman 4036 posts 12863 karma points MVP
    Jan 19, 2012 @ 16:14
    Richard Soeteman
    0

    Thta might be a bug in older versions indeed since that can handle null values very well but have some issues with empty values. Also depends on which underlying datatype you assign an empty value. Text values will work, assigning an empty value to an integer, or datedatatype will propably cause some issues indeed.

     

  • Fredrik Esseen 608 posts 904 karma points
    Jan 19, 2012 @ 16:26
    Fredrik Esseen
    0

    No, it wasnt a bug. I forgot to add headers to the column so I suppose that was the reason :)

    Thx for support!

Please Sign in or register to post replies

Write your reply to:

Draft