#49363 [Opn->Ver]: [DE] wrong encoding

From: Date: Fri, 28 Aug 2009 22:32:56 +0000
Subject: #49363 [Opn->Ver]: [DE] wrong encoding
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2684@lists.php.net to get a copy of this message
ID: 49363 Updated by: wiesemann@php.net -Summary: Missing information Reported By: admin at mysqldumper dot de -Status: Open +Status: Verified Bug Type: Translation problem Operating System: Win XP PHP Version: Irrelevant -Assigned To: +Assigned To: wiesemann Previous Comments: ------------------------------------------------------------------------ [2009-08-25 16:49:22] admin at mysqldumper dot de Description: ------------ The manual states: "Note: This is the preferred way to change the charset. Using mysql_query() to execute SET NAMES .. is not recommended. " I am missing any technical explanation here why this is recommended. Sending "SET NAMES 'charset'" via mysql_query() always worked fine on many different servers for me. So I want to know more detailed what is the disadvantage and what is the advantage using mysql-set-charset(). Funnily the German translation page of mysql_set_charset has some incorrectly encoded German umlauts on the page. e.x.: "Setzt den Standardzeichensatz für die angegebene Verbindung. " instead of "Setzt den Standardzeichensatz für die angegebene Verbindung." Reproduce code: --------------- --- From manual page: function.mysql-set-charset --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49363&edit=1

« previous php.doc.bugs (#2684) next »