You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello guys,
I'm struggling to handle a CSV file with multibyte string with accents in the heading.
Numero,Denominazione,Categoria,EANCode,Numero Produttore,Denominazione Produttore,Prezzo,Quantità disponibile,in_arriva
This is the heading, and as you can see, one column is "Quantità disponibile".
When I try to access that key in the $row array I get "Undefined array key" error.
I believe I can handle it with formatHeaderUsing() but I can't find a way to remove that "à". Obviously I have tried with str_replace :P
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello guys,
I'm struggling to handle a CSV file with multibyte string with accents in the heading.
Numero,Denominazione,Categoria,EANCode,Numero Produttore,Denominazione Produttore,Prezzo,Quantità disponibile,in_arriva
This is the heading, and as you can see, one column is "Quantità disponibile".
When I try to access that key in the $row array I get "Undefined array key" error.
I believe I can handle it with formatHeaderUsing() but I can't find a way to remove that "à". Obviously I have tried with str_replace :P
Beta Was this translation helpful? Give feedback.
All reactions