CSV to JSON, fix special chars issue

Cerrado Publicado hace 6 años Pagado a la entrega
Cerrado Pagado a la entrega

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 Arquitectura de software

Nº del proyecto: #14015570

Sobre el proyecto

18 propuestas Proyecto remoto Activo hace 6 años

18 freelancers están ofertando un promedio de €37 por este trabajo

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 Más

€33 EUR en 2 días
(1309 comentarios)
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 en 1 día
(1291 comentarios)
7.9
srinichal

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

€23 EUR en 1 día
(152 comentarios)
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 Más

€30 EUR en 0 días
(293 comentarios)
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 en 0 días
(157 comentarios)
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 en 0 días
(243 comentarios)
6.6
thewebscraper

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

€29 EUR en 0 días
(77 comentarios)
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 en 3 días
(47 comentarios)
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 en 1 día
(48 comentarios)
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 en 1 día
(19 comentarios)
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. Más

€14 EUR en 0 días
(90 comentarios)
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 Más

€30 EUR en 2 días
(18 comentarios)
4.6
GITTechBAY

I am ready to work on your task as per the requirement , please message me Más

€23 EUR en 1 día
(2 comentarios)
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 Más

€28 EUR en 1 día
(0 comentarios)
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 en 1 día
(0 comentarios)
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 Más

€16 EUR en 1 día
(0 comentarios)
0.0