diff options
author | alonso <alonso@us.es> | 2009-11-15 12:34:38 +0000 |
---|---|---|
committer | alonso <alonso@us.es> | 2009-11-15 12:34:38 +0000 |
commit | 9209cdf45fb59d95a323cfced6bb8d79bd08e4c9 (patch) | |
tree | 689372078edd74ef0e4d3907692f018abb068191 /admin/WebConsole/clases | |
parent | 2a26e3fffec954fc8b4d020c00b789a9110506e6 (diff) |
git-svn-id: https://opengnsys.es/svn/trunk@538 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/clases')
-rw-r--r-- | admin/WebConsole/clases/AdoPhp.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/WebConsole/clases/AdoPhp.php b/admin/WebConsole/clases/AdoPhp.php index 10831b90..8699edbd 100644 --- a/admin/WebConsole/clases/AdoPhp.php +++ b/admin/WebConsole/clases/AdoPhp.php @@ -177,6 +177,12 @@ class Conexion{ } } /* ------------------------------------------------------------------------------------------- + Establece una sistema UTF8 para las consultas + ----------------------------------------------------------------------------------------------*/ + function SetUtf8(){ + mysql_query("SET NAMES 'utf8'"); + } + /* ------------------------------------------------------------------------------------------- Revisa y detecta las condiciones que deben cumplir los datos necesarios para establecer conexiones |