CSV to JSON, fix special chars issue

Ditutup Dipasang 6 tahun yang lalu Dibayar saat pengiriman
Ditutup Dibayar saat pengiriman

I need to split the columns of a CSV based on the ; character. Each CSV column containing data has a " " around it. While fetching the URL with the CSV, there is an issue with weird chars. Words end up as "Hintergr&uuml" and cause extra unwanted ; and " in the script.

$result = file_get_contents($url);

html_entity_decode($result);

$linecount = substr_count($result, "\n");

$str_arr = explode("\n", $result);

for ($i = 1; $i <= $linecount; $i++){

$data_line = explode(";", $str_arr[$i]);

//$data_line = str_replace('"', '', $data_line);

PHP Perancangan Perangkat Lunak

ID Proyek: #14015570

Tentang proyek

18 proposal Proyek online Aktif 6 tahun yang lalu

18 freelancer rata-rata menawar €37 untuk pekerjaan ini

rinsadsl

Hi there I know how to split a csv file with semicolon and double quote. I have split csv files with html content with semicolon without compromising the content inside double quotes. Looking forward to work with yo Lebih banyak

€33 EUR dalam 2 hari
(1309 Ulasan)
9.6
vano101

Hello. Can you send sample of CSV file? I would like to make sure I understand it correcty. Does your CSV file contains quited strings? Thanks.

€14 EUR dalam 1 hari
(1291 Ulasan)
7.9
srinichal

Ready to discuss further details about the project and deliver the same to your specifications and needs

€23 EUR dalam 1 hari
(152 Ulasan)
7.5
Torricelli

Hi, i hope you're doing well. I've just read your project's description and i would like to help you with it. I'm an experienced web developer with the necessary skills for getting this job done. Responsibilit Lebih banyak

€30 EUR dalam 0 hari
(293 Ulasan)
6.7
Sonicoders

I have 3 years experience as a web development will fix your issue inbox me we can discuss more over chat.

€23 EUR dalam 0 hari
(157 Ulasan)
6.6
glennwilkins

sir pm me im good in php .. i can do this .. sir pm me im good in php .. i can do this .. sir pm me im good in php .. i can do this ..

€30 EUR dalam 0 hari
(243 Ulasan)
6.6
thewebscraper

hi, i can easily fix this for you. please provide the test url and the current function you have.

€29 EUR dalam 0 hari
(77 Ulasan)
6.7
codetastic

Hello, I am an experienced PHP coder with expertise in data processing applications. I would be happy to help. Regards, Erik

€34 EUR dalam 3 hari
(47 Ulasan)
6.2
gopasoft

Hey, I am interested in your project. Please reply me so that we can discuss in more details. Looking forward to hear from you. Best regards, Rizwan.

€30 EUR dalam 1 hari
(48 Ulasan)
5.4
Lionanaimal

I am Saleh A software and javascript expert with 13 years experience I will fix this issue within the next 2 hours Regards

€30 EUR dalam 1 hari
(19 Ulasan)
5.1
bdphpguru

Dear Sir, Able to start right now. I have more than 2+ years experience in web and deskop application development using C#.Net , mysql,php. Twillio sms gateway api,paypal api several api like twitter, bitcoin. Lebih banyak

€14 EUR dalam 0 hari
(90 Ulasan)
5.2
oldhendra

Hi. May I know how this ; (semicolon) separator get stored inside each CSV lines or perhaps I could see the actual URL or just a few lines as example? I may have to test this first and let you know. Else if you mea Lebih banyak

€30 EUR dalam 2 hari
(18 Ulasan)
4.6
GITTechBAY

I am ready to work on your task as per the requirement , please message me Lebih banyak

€23 EUR dalam 1 hari
(2 Ulasan)
0.4
marryparker

Greeting there, Programming is my passion.I'm an energetic and passionate web developer. I've been developing websites through PHP and CMS for 6 years now and have worked several projects on freelancer and other Lebih banyak

€28 EUR dalam 1 hari
(0 Ulasan)
0.0
sanakashif906

Hi, I have found error in last line. please reply me back so let you know & start working ASAP. Thanks for opportunity.

€34 EUR dalam 1 hari
(0 Ulasan)
0.0
joeb929

Hefty experience with PHP. Will work with you to get a small sample which has the error, and produce a working solution with comments explaining every step of the way, so as to make it easier to understand in the futur Lebih banyak

€16 EUR dalam 1 hari
(0 Ulasan)
0.0