Jump to content
UBot Underground

Error When Adding Csv (Tab Delimited) File As A Table In Ubot


Recommended Posts

I'm trying to add this google keyword planner csv file into ubot so I can use as a table.

 

Attached to this post is the csv file I want to add to ubot.

 

In ubot when I "create the table from csv file", the table data turns to unreadable characters and so its all messed up.

 

If I open the csv file in notepad, I see that the data is separated by tabs rather than commas. So if I go to excel and save this csv file as a comma delimited txt file, then I am able to create the table from csv file in ubot.

 

Is there a way to directly add the csv file (downloaded directly from google keyword planner) into ubot as a table,

without converting it to comma delimited txt file?

 

Thank you for helping.

googlekeyword.csv

Link to post
Share on other sites

try.

set(#MyData,$read file("C:\\Users\\Apichai\\Desktop\\googlekeyword.csv"),"Global")
set(#MyData,$replace regular expression(#MyData,"\\t",","),"Global")
save to file("C:\\Users\\Apichai\\Desktop\\googlekeyword.csv",#MyData)
create table from file("C:\\Users\\Apichai\\Desktop\\googlekeyword.csv",&MyTable)
Link to post
Share on other sites

try.

set(#MyData,$read file("C:\\Users\\Apichai\\Desktop\\googlekeyword.csv"),"Global")
set(#MyData,$replace regular expression(#MyData,"\\t",","),"Global")
save to file("C:\\Users\\Apichai\\Desktop\\googlekeyword.csv",#MyData)
create table from file("C:\\Users\\Apichai\\Desktop\\googlekeyword.csv",&MyTable)

 

Thank you for replying.

 

I've tried your code, and it produce these unreadable characters as data in the ubot table.

Please check my attached screenshot. 

I think this has something to do with the text encoding, maybe from google keyword planner csv file downloads.

post-6845-0-00847900-1460864675_thumb.jpg

Link to post
Share on other sites

 

Thank you for replying.

 

I've tried your code, and it produce these unreadable characters as data in the ubot table.

Please check my attached screenshot. 

I think this has something to do with the text encoding, maybe from google keyword planner csv file downloads.

open csv by notepad >> save as >> select encode to UTF8 >> save

try again

Link to post
Share on other sites

open csv by notepad >> save as >> select encode to UTF8 >> save

try again

 

This works, but is there anyway to do this within Ubot so that I don't have to download csv file from google, then use notepad to save as utf8, and then add to ubot. 

Thanks so much for your help. I really appreciate it! 

Link to post
Share on other sites

This works, but is there anyway to do this within Ubot so that I don't have to download csv file from google, then use notepad to save as utf8, and then add to ubot. 

Thanks so much for your help. I really appreciate it! 

PM.

Link to post
Share on other sites
  • 1 month later...

I'm trying to add this google keyword planner csv file into ubot so I can use as a table.

 

Attached to this post is the csv file I want to add to ubot.

 

In ubot when I "create the table from csv file", the table data turns to unreadable characters and so its all messed up.

 

If I open the csv file in notepad, I see that the data is separated by tabs rather than commas. So if I go to excel and save this csv file as a comma delimited txt file, then I am able to create the table from csv file in ubot.

 

Is there a way to directly add the csv file (downloaded directly from google keyword planner) into ubot as a table,

without converting it to comma delimited txt file?

 

Thank you for helping.

 

 

hello, you can help me save the data in order?

 
look this :( 
 
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...