@@klawischnigg
Ja, aber auch der Umstand, daß Du keine Information über den Zeichensatz resp. die Codierung mitgeben kannst kann sich als Nachteil erweisen...
Im Prinzip ja.
Aber: Wer irgendeinen anderen Zeichensatz als Unicode verwendet, macht was falsch.
Und wer im Web eine andere Zeichencodierung als UTF-8 verwendet, macht was falsch.
Von daher kann man von UTF-8-codierten Daten ausgehen. Und wenn die Annahme falsch sein sollte, dann wäre das zu beheben, sodass die Annahme stimmt.
🖖 Live long and prosper
PS: Allerdings … wer CSV anstatt JSON als Datenformat verwendet, verwendet womöglich auch noch eine ISO-8859-Codierung.
--
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14
“In my home, the America I love, the America I've written about, that has been a beacon of hope and liberty for 250 years, is currently in the hands of a corrupt, incompetent and treasonous administration. Tonight, we ask all who believe in democracy and the best of our American spirit, to rise with us, raise your voices against authoritarianism, and let freedom reign.”
— Bruce Springsteen, Manchester 2025-05-14