🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #220338

Re: utf8, phpmyadmin

#220338
From: Krzysiek Głowacki
Date: Wed, 26 Aug 2009 11:10
10 lines
1098 bytes
Dzięki za pomoc, tego mi brakowało: mysql_query("SET NAMES 'utf8'");

Pozdr.
K.

Colin <michkol@gmail.com> napisał(a):

> Tutaj pewnie coś robisz źle, np. bazę masz w trybie latin1 (nie wysyłasz
>
> SET NAMES) a wysyłasz do serwera SQL tekst w UTF-8.
Technical Details
Message-ID: <0f01b03ead5e3dc707fa119e57e1ae0d@news.home.net.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news.home.net.pl!not-for-mail
References: <771494ff3b70fa0760e6b6338b29a86f@news.home.net.pl> <h734p4$4ac$1@mx1.internetia.pl>

Show Full Headers
Complete Article Headers
From: Krzysiek Głowacki <glowacki@netamber.com>
Newsgroups: pl.comp.lang.php
References: <771494ff3b70fa0760e6b6338b29a86f@news.home.net.pl> <h734p4$4ac$1@mx1.internetia.pl>
Subject: Re: utf8, phpmyadmin
Date: Wed, 26 Aug 2009 13:10:16 +0200
Message-ID: <0f01b03ead5e3dc707fa119e57e1ae0d@news.home.net.pl>
MIME-Version: 1.0
X-Mailer: home.pl my.webmail
X-Priority: 3
X-NNTP-Posting-Host: efp194.internetdsl.tpnet.pl
NNTP-Posting-Host: 62.129.252.52
X-Trace: news.home.net.pl 1251285016 62.129.252.52 (26 Aug 2009 13:10:16 +0200)
Organization: home.pl news server
Lines: 13
X-Authenticated-User: glowacki.netamber@home
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!nf1.ipartners.pl!ipartners.pl!news.home.net.pl!not-for-mail
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit