From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 11 Nov 2003 14:38:07 +0200 From: Alexander Bokovoy To: sisyphus@altlinux.ru Subject: Re: [sisyphus] php: iconv Message-ID: <20031111123807.GK4102@sam-solutions.net> Mail-Followup-To: sisyphus@altlinux.ru References: <200311111229.31037.nick@fedchik.org.ua> <20031111105720.GE4102@sam-solutions.net> <200311111406.23017.nick@fedchik.org.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=cp1251 Content-Disposition: inline In-Reply-To: <200311111406.23017.nick@fedchik.org.ua> Content-Transfer-Encoding: quoted-printable X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.3 Precedence: list Reply-To: sisyphus@altlinux.ru List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2003 12:36:14 -0000 Archived-At: List-Archive: On Tue, Nov 11, 2003 at 02:06:14PM +0200, Nick Fedchik wrote: Content-Description: signed data > =C2 =F1=EE=EE=E1=F9=E5=ED=E8=E8 =EE=F2 =C2=F2 11 =CD=EE=FF 2003 12:57 A= lexander Bokovoy =ED=E0=EF=E8=F1=E0=EB(a): > > =C2=EE=F2 =E1=E0=ED=E0=EB=FC=ED=FB=E9 =EF=F0=E8=EC=E5=F0 =E5=E3=EE =F0= =E0=E1=EE=F2=EE=F1=EF=EE=F1=EE=E1=ED=EE=F1=F2=E8: > > $ cat test.php > > > $test =3D 'Iconv =F4=EE=F0=E5=E2=E0'; > >> var_dump(iconv("CP1251", "UTF-8", $test)); > > ?> > >> $ php test.php > > string(18) "Iconv =D1=84=D0=BE=D1=80=D0=B5=D0=B2=D0=B0" >=20 > =C8=F1=EF=EE=EB=FC=E7=F3=FE =F5=EE=F1=F21 (=E1=FB=EB =EF=E5=F0=E5=E2=E5= =E4=E5=ED =ED=E0 =D1=E8=E7=E8=F4 =F1 =CC=E0=F1=F2=E5=F0=E0 2.2 =EF=F0=E8=EC= =E5=F0=ED=EE=20 > =EF=EE=EB-=E3=EE=E4=E0 =ED=E0=E7=E0=E4, =ED=E5=F3=E4=E0=F7=ED=FB=E9 =E0= =EF=E4=E5=E9=F2 php) > =CE=EA, =E4=E5=EB=E0=FE =F3 =F1=E5=E1=FF: >=20 > cat test-iconv.php > $test =3D 'Iconv =CF=F0=E8=E2=E5=F2'; > var_dump(iconv("KOI8-R", "CP1251", $test)); > ?> > [root@vatra html]# php test-iconv.php > string(12) "Iconv =EE=CF=D5=C1=C5=D0" > =C3=F3=F2? =CF=EE=EB=E0=E3=E0=FE =F7=F2=EE =E4=E0. >=20 > =C4=E0=EB=E5=E5: > http://host1/test-iconv.php >=20 > Fatal error: Call to undefined function: iconv() in=20 > /var/www/html/test-iconv.php on line 3 >=20 > =CD=E0=E3=EB=FF=E4=ED=E0=FF =E4=E5=EC=EE=ED=F1=F2=F0=E0=F6=E8=FF =EF=F0= =EE=E1=EB=E5=EC=FB? =C4=E0. =C5=E5 -- =E2 bug report =ED=E0 bugzilla.altlinux.ru =E8 =EF=F3=F1= =F2=FC legion =E4=F3=EC=E0=E5=F2 =ED=E0=E4 =F0=E0=E7=ED=E8=F6=E5=E9 =E2 =EF=EE=E2=E5=E4=E5=ED=E8=E8. --=20 / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/