You are hereHome / Softwareentwicklung / PHP und UTF-8 – eine Anleitung, Einleitung

PHP und UTF-8 – eine Anleitung, Einleitung


By Gerd Riesselmann - Posted on 22 November 2007

Es ist kein Geheimnis, dass PHP und Multibyte-Zeichensätze wie etwa UTF-8 nicht gut zusammen gehen. Dies hat drei Gründer:

  • Die meisten PHP-Funktionen setzen wie selbstverständlich ANSI-Strings voraus, etwa die meisten String-Funktionen
  • Bei PHP-Funktionen, die Multibyte-Zeichensätze verarbeiten können, wie etwa htmlentities(), werden diese nicht benutzt.
  • Und last not least ist der korrekte Einsatz von MySQL und UTF-8 auch nicht einfach.

Ich werden diesen drei Problemfeldern in den nächsten Wochen nachspüren.

Teil 1: UTF-8 und MySQL
Teil 2: Webseiten als UTF-8 ausliefern
Teil 2: PHP String Funktionen

gesucht, bei dir gefunden, geklappt. danke sehr.

Tweets

@jensjakob @einvoicing Thanks for your feedback regarding #ubl specs. Very appreciated! vor 2 days 21 hours
Fighting with #WYMEditor fullsize() plugin and skin CSS. Stuck. Will try tomorrow again, with fresh ideas, I hope. vor 4 days 18 hours
@mr_lundis Thanks for the note! I hope the server will be up again soon, browsing docs through Google cache is somewhat tireing ;) vor 4 days 23 hours
Writing a #wymeditor plugin for #gyro-php, but wymeditor's site is down for more than a day now. Wonder what's going on? vor 5 days 8 min
Can someone please tell the OASIS consortium that XML Schema are not documentation? #ubl #xml #annoyed vor 6 days 3 hours
"Der Extremtester" bei zdf.neo ist ein ziemlich abgedrehtes Format. Letzte Woche brach er in ein Museum ein. http://bit.ly/d7NKHv vor 1 Woche 2 days
#jQuery UserGroup Cologne trifft sich am 8. März. http://bit.ly/cneNOj #köln vor 2 weeks 3 days