myLittleTools Community Forum

Welcome Guest Search | Active Topics | Members | Log In | Register

Error importi File SQL in newquery Options · View
thefusa
Posted: Monday, December 03, 2007 2:55:16 PM
Rank: Newbie
Groups: Member

Joined: 9/17/2007
Posts: 4
Points: 0
Hi,
I've a problem importing a SQL file using the "open" button.
When I upload my sql file the system substitute the "à","è" and other letters with
Kak"�"(M)
Example:
In my sql text file I have: Kakà
In the mysql admin after importing the text file I have: Kak�

If I select all the text copy and paste everything is right.
Any suggest?
Thanks a lot for your help!
elian
Posted: Monday, December 03, 2007 3:21:05 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
Check that your CSV file is saved in UTF-8 and not in Unicode.
thefusa
Posted: Monday, December 03, 2007 3:35:30 PM
Rank: Newbie
Groups: Member

Joined: 9/17/2007
Posts: 4
Points: 0
Hi,
thanks for your answer...
But my file is autogenerated in this way by a external procedure..
There's a way to force UTF-8 during upload?
elian
Posted: Monday, December 03, 2007 3:38:09 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
the file must be saved in UTF-8 before the upload.
Could you please check that it works as you want with an UTF-8 file?
thefusa
Posted: Monday, December 03, 2007 3:53:50 PM
Rank: Newbie
Groups: Member

Joined: 9/17/2007
Posts: 4
Points: 0
Yes! It works!
But there's a way to do this automatically during upload?
elian
Posted: Monday, December 03, 2007 3:57:36 PM

Rank: Administration
Groups: Administration

Joined: 9/11/2006
Posts: 605
Points: 649
Location: Enghien Les Bains, France
Upload process does not care about the file format (ansi, utf8, unicode, binary, etc.) The only way is to upload the file in the correct format.

You should add a process between your external procedure and the csv import that would convert your file into utf-8 format.
thefusa
Posted: Monday, December 03, 2007 4:06:12 PM
Rank: Newbie
Groups: Member

Joined: 9/17/2007
Posts: 4
Points: 0
Ok.
Thank You very much for your help!
Bye
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Theme created by myLittleTools
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.