Okay - after Asaf emailed me a copy of the CSV file he was using, I'm pretty
sure I figured out what the issue was: the file contained a "byte order
mark" at the beginning, indicating its encoding. This web page explains the
issue, as well as how to get rid of it:

http://www.dotvoid.com/2010/04/detecting-utf-bom-byte-order-mark/

<http://www.dotvoid.com/2010/04/detecting-utf-bom-byte-order-mark/>I'm
surprised this issue hasn't come up before, but in any case I just added
that basic code in to the Data Transfer code in SVN. Asaf - if you're using
SVN, I'd recommend doing an update and trying it again. Otherwise, just add
in the last change seen here into your code:

http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/DataTransfer/specials/DT_ImportCSV.php?r1=84686&r2=85543

<http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/DataTransfer/specials/DT_ImportCSV.php?r1=84686&r2=85543>
-Yaron


On Wed, Apr 6, 2011 at 10:54 AM, asafbareket <asaf.bare...@gmail.com> wrote:

>
> Tried that right now, also didn't work. I also tried starting a new
> document
> in CSVed from scratch, and nothing. Maybe it's something else entirely.
>
> Asaf
> --
> View this message in context:
> http://old.nabble.com/Help-with-CSV-import-tp31330707p31334080.html
> Sent from the Semantic Mediawiki - Development mailing list archive at
> Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel
>



-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to