Hello
I hope I can reach Yaron Koren with my question on this list:
Context: I use extension Data Transfer version 0.6.1 (and earlier) to export pages in a .CSV-file from one wiki and import that .CSV-file into another wiki. In the exportfile the new pagetitle is choosen to be one of the semantic properties. In the first wiki and the .CSV-file I use UTF-8 characters with accents. So far so good.
Question: Until Data Transfer 0.6.1 the characters with accents were imported and arrived without problem in the second wiki; After implementing Data Transfer 0.6.2 this is no longer the case.
For instance UTF-8 character %C3 %A9 shown as expected as é in the first wiki, is shown as é after import in the second wiki.
What can be the problem?
Kind regards,
Max Hendriks
Hi Max,
You reached me! You have an interesting setup - Data Transfer doesn't export CSV, so I'm guessing that what you're doing is producing a CSV file via a Semantic MediaWiki query, then importing that. Is that right?
In DT's Special:ImportCSV interface, you can choose whether to use UTF-8 or UTF-16 encoding. Have you tried both?
-Yaron
On Mon, Sep 12, 2016 at 8:00 AM, M.M.H. Hendriks m.hendriks@erasmusmc.nl wrote:
Hello
I hope I can reach Yaron Koren with my question on this list:
Context: I use extension Data Transfer version 0.6.1 (and earlier) to export pages in a .CSV-file from one wiki and import that .CSV-file into another wiki. In the exportfile the new pagetitle is choosen to be one of the semantic properties. In the first wiki and the .CSV-file I use UTF-8 characters with accents. So far so good.
Question: Until Data Transfer 0.6.1 the characters with accents were imported and arrived without problem in the second wiki; After implementing Data Transfer 0.6.2 this is no longer the case.
For instance UTF-8 character %C3 %A9 shown as expected as é in the first wiki, is shown as é after import in the second wiki.
What can be the problem?
Kind regards,
Max Hendriks
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello Yaron,
That’s right, I use a Semantic MediaWiki query; We checked the result to be UTF8.
The export query (names are in dutch):
{{#ask: [[Is in stadium vraagverwerking::Gepubliceerd]] [[Heeft als Publicatiedatum:: > {{#show: Export_vanaf_(datum_tijd)_moment | ?Heeft_als_Publicatiedatum }} ]] |?Is vraagtitel=Titel |?Is Antwoord Reactie=Tp FAQ gebruiker[Antwoord] |?Heeft als ONE domein=Tp FAQ gebruiker[Domein] |?Heeft als ONE rubriek=Tp FAQ gebruiker[Rubriek] |?=Tp FAQ gebruiker[Vraag Id] |?Is Vraag Opmerking=Tp FAQ gebruiker[Vraag] | limit=1000 | sort = | searchlabel= CSV export ter publicatie | format=csv | mainlabel=- | headers=show | sep=, | filename=VraagAntwoorden_ter_publicatie.csv }}
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Yaron Koren Sent: maandag 12 september 2016 14:53 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] Difference in extension Data Transfer version 0.6.1 and 0.6.2
Hi Max,
You reached me! You have an interesting setup - Data Transfer doesn't export CSV, so I'm guessing that what you're doing is producing a CSV file via a Semantic MediaWiki query, then importing that. Is that right?
In DT's Special:ImportCSV interface, you can choose whether to use UTF-8 or UTF-16 encoding. Have you tried both?
-Yaron
On Mon, Sep 12, 2016 at 8:00 AM, M.M.H. Hendriks m.hendriks@erasmusmc.nl wrote:
Hello
I hope I can reach Yaron Koren with my question on this list:
Context: I use extension Data Transfer version 0.6.1 (and earlier) to export pages in a .CSV-file from one wiki and import that .CSV-file into another wiki. In the exportfile the new pagetitle is choosen to be one of the semantic properties. In the first wiki and the .CSV-file I use UTF-8 characters with accents. So far so good.
Question: Until Data Transfer 0.6.1 the characters with accents were imported and arrived without problem in the second wiki; After implementing Data Transfer 0.6.2 this is no longer the case.
For instance UTF-8 character %C3 %A9 shown as expected as é in the first wiki, is shown as é after import in the second wiki.
What can be the problem?
Kind regards,
Max Hendriks
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- WikiWorks · MediaWiki Consulting · http://wikiworks.com _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Hello Yaron,
About your second question; I did'nt try importing UTF-16.
(And I see that outlook messed up the lines of the query in copy pasting in my last mail, may be this looks better:
{{#ask: [[Is in stadium vraagverwerking::Gepubliceerd]] [[Heeft als Publicatiedatum:: > {{#show: Export_vanaf_(datum_tijd)_moment | ?Heeft_als_Publicatiedatum }} ]] |?Is vraagtitel=Titel |?Is Antwoord Reactie=Tp FAQ gebruiker[Antwoord] |?Heeft als ONE domein=Tp FAQ gebruiker[Domein] |?Heeft als ONE rubriek=Tp FAQ gebruiker[Rubriek] |?=Tp FAQ gebruiker[Vraag Id] |?Is Vraag Opmerking=Tp FAQ gebruiker[Vraag] | limit=1000 | sort = | searchlabel= CSV export ter publicatie | format=csv | mainlabel=- | headers=show | sep=, | filename=VraagAntwoorden_ter_publicatie.csv }}
)
Regards, Max Hendriks
-----Original Message----- From: MediaWiki-l [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Yaron Koren Sent: maandag 12 september 2016 14:53 To: MediaWiki announcements and site admin list Subject: Re: [MediaWiki-l] Difference in extension Data Transfer version 0.6.1 and 0.6.2
Hi Max,
You reached me! You have an interesting setup - Data Transfer doesn't export CSV, so I'm guessing that what you're doing is producing a CSV file via a Semantic MediaWiki query, then importing that. Is that right?
In DT's Special:ImportCSV interface, you can choose whether to use UTF-8 or UTF-16 encoding. Have you tried both?
-Yaron
On Mon, Sep 12, 2016 at 8:00 AM, M.M.H. Hendriks m.hendriks@erasmusmc.nl wrote:
Hello
I hope I can reach Yaron Koren with my question on this list:
Context: I use extension Data Transfer version 0.6.1 (and earlier) to export pages in a .CSV-file from one wiki and import that .CSV-file into another wiki. In the exportfile the new pagetitle is choosen to be one of the semantic properties. In the first wiki and the .CSV-file I use UTF-8 characters with accents. So far so good.
Question: Until Data Transfer 0.6.1 the characters with accents were imported and arrived without problem in the second wiki; After implementing Data Transfer 0.6.2 this is no longer the case.
For instance UTF-8 character %C3 %A9 shown as expected as é in the first wiki, is shown as é after import in the second wiki.
What can be the problem?
Kind regards,
Max Hendriks
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- WikiWorks · MediaWiki Consulting · http://wikiworks.com _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org