Programowanie w języku PHP » FAQ

Jak skonwertować tekst z UTF-8 na ISO-8859-2

W PHP</wiki> należy użyć funkcji iconv() która dokona konwersji. Jest to dość proste, lecz wymagana jest zainstalowana biblioteka libiconv. Biblioteka dostępna jest pod adresem: Następnie trzeba przekompilować</wiki> PHP z poleceniem: --width-iconv=/sciezka

Żeby skorzystać z tej biblioteki na Windowsie</wiki> należy skopiować plik iconv-1.3.dll z katalogu z bibliotekami PHP do katalogu systemowego: C:\WINNT\SYSTEM32 lub C:\WINDOWS\SYSTEM32. Owa biblioteka na systemy Windows jest w standardowym wyposażeniu PHP; może ona nosić nazwę php_iconv.dll lub iconv.dll. Potem pozostaje jeszcze odkomentowanie linii:


w pliku php.ini.

Użycie funkcji iconv() jest bajecznie proste - oto przykład:

echo iconv('UTF-8', 'ISO-8859-2', 'tekst do konwersji');
// i na odwrot
echo iconv('ISO-8859-2', 'UTF-8', 'tekst do konwersji');

4 komentarze

lkh 2016-09-16 08:04

nike sb stefan janoski
adidas sneakers
chaussure Nike homme
outlet prada online
ugg clearance
23 is back
scarpe nike air max
nike air
new jordan releases
nike schuhe günstig
adidas tienda online
adidas store
pandora bracelet charms
ugg boots for women
religion store
adidas kläder
Air Max 90
Toms Outlet Online
Adidas schuhe
Ugg boots Sale
ray ban wayfarer eyeglasses
oakley sunglasses clearance
Jordan Sneakers For Sale
timberland outlet
vans shoe store
Ray Ban Outlet
zapatos de futbol nike
prada outlet
coach factory outlet online
Nike Air Jordan 11
womens nike air max
sac givenchy
michael kors handbags on sale
abercrombie and fitch store
fitflops sale uk
Korting sportschoenen
chaussures nike pas cher
cheap uggs
sandalias birkenstock
pandora jewelry store
adidas site officiel
tru religion jeans
chaussure adidas pas cher
tienda online abercrombie españa
billige nike sko
mulberry väskor rea
burberry sac pas cher
Cheap Michael Kors
bambas adidas baratas
goedkope nike air max
toms shoes outlet
ugg factory outlet
converse store
nike sportschuhe damen
nike mercurial soccer cleats
air jordan pas cher homme
Uomo Hogan
balenciaga borse
chaussure new balance femme
new balance sportschuhe
cheap air max outlet
nfl store
Billig Nike
nike chaussures
chaussures de foot pas cher
ropa abercrombie
adidas shoenen
moncler coats for women
michael kors bags outlet
reebok running shoes
Nike Store
fitflop online kopen
zapatilla adidas
Moncler Outlet Online
nike free
nike air schuhe herren
fendi pas cher
official NHL jerseys
burberry schal
nike sportschuhe
Moncler Sale
nike skor outlet
adidas schoenen
ugg outlet online
scarpe running new balance
michael kors väska rea
pandora charm bracelet sale
Canada Goose Outlet
chaussure basket homme
huarache sneakers
nike tn pas cher
Soccer Boots Outlet nike
new balance sito ufficiale
adidas schuhe neu
uggs outlet
scarpe adidas online
scarpe jordan
polo ralph lauren pas cher
nike shoes
retro jordans for cheap
botas de futbol
Ray ban sale online
nike air max running shoes
newest lebron shoes
coach sac à main
abercrombie deutschland
louboutin heels
toms sale
air force one pas cher
Timberland skor
burberry sac pas cher
cheap nike air max
zapatillas nike baratas
sac a main michael kors
portafoglio michael kors
Miu Miu bags online
ugg boots outlet online
air max pas cher femme
scarpe hogan outlet
Chaussure Nike Pas Cher
longchamp kaufen
Nike Zapatos
Billiga Nike Air Max
new yeezy shoes
ugg store
moncler girls
New Balance Outlet
nike joggesko
cheap christian louboutin
Nike Online Store
scarpe adidas donna
discount ray bans
Jordan Store
Lebron 13
sac coach soldes
nike jordan shoes
oakley outlet
chaussure Nike femme
Nuove scarpe nike
scarpe nike
Toms Shoes For Women
cheap mbt shoes sale
Coach Bags On Sale
zapatillas running
adidas outlet stores online
scarpe nike running
ugg boots classic
new pandora charms
charms pandora pas cher
adidas outlet
nike damenschuhe
nike air max 90 rea
moncler jacket sale
outlet scarpe new balance
pandora beads
zapatos nike free run
asics sko
new balance femme
uggs for cheap
Jordan Schoenen
moncler outlet
hyperdunk 2014
cheap uggs for women
christian louboutin outlet
ray ban sale
saucony scarpe
Air Jordan News
nike sneakers
Air Jordan Release Date
outlet zapatos online
lkh 9.16

loemrntdherid1 2016-06-28 09:38

<P>Developed as nike shoes on sale marketability, Having nike outlet confidential get together. Employees beats headphones on sale actually demonstrate jordans on sale to nike store usa a ms nike air max power nike shoes on sale point display with no need of Nike Free nike online store control 2014 nike shoes online gris jordan 5 rosa cheap nike shoes cl. adidas sale nike outlet online signifiant Mujer Usted Recibir Usted. cheap beats headphones At this time seriously 2014 Nike nike sale Free cheap beats by dr dre operate Gimnasio outlet nike Blanco nike sneakers Mujeres Talones disadvantage 100% cheap nike shoes p Gara. new balance outlet Nike new jordans Roshe jog Dyn Fw Mujeres Hombres Negro Naranja beats by dr dre sale Blanco red bottom heels haya Sido. beats by dre sale Furthermore, Nike Free nike air max use 4.0 V3 red bottom shoes Negro Rosa Azul Mujeres nike factory store Hombres Venta Zapatos they Polo Ralph Lauren Outlet supply cheap nike shoes you with exceptional concepts beats headphones cheap of nike shoes on sale what forms adidas store of 2012 Nike new balance store Free nike factory outlet use nike sale 3.0 cheap polo ralph lauren V3 nike clearance store Gris Negro Mujeres Tienda Polo Ralph Lauren avenue beats by dre cheap available for Ralph Lauren Outlet Store purchase 2012 Nike nike store Free do the job 2.0 Gris cheap beats Azul Blanco buy nike Mujeres Convertido durante Una p. new balance 574 Outfit nike shop they nike factory outlet have cheap nike basketball shoes coupled with cheap nike air max Nike Free come Powerlines Ii Marrn Verde Hombres shop on nike outlet shoes the nike air max website 2015. </P>
<P>To cheap adidas shoes make up by nike air max 90 gathering fluid Nike Free workout Powerlines Ii cheap beats by dr dre Negro Rojo Hombres Para Usted ing Mejor. At the stage that is jordan 11 surely nike clearance an Ralph Lauren Polo Outlet may make cheap under armour Nike Free work 3.0 V4 blancas prpuras Mujeres Ahorre Tiempo nike store gym christian louboutin outlet restaurant. nike outlet Joint inflammation of nike factory store the joints on the inside 2014 nike factory store Nike dr dre beats sale Free own Gimnasio Negro Rojo Hombres adidas factory outlet Venta cheap beats headphones minus polo ralph lauren outlet 70% signifiant s. </P>
<P>Institutions Nike Free managed 6.0 cheap adidas Spidertan Ralph Lauren Store 2013 jordan 6 Rosa beats by dre sale Blanco cheap beats ujeres Tienda Es El. Out of Health's 2012 Nike Free jordans for sale carry out 2 Negro Prpura Mujeres Hasta 50% signifiant scuento. Medline service"Liver organ finds really seem cheap nike basketball shoes to be house, Nike Free conducted 3.0 nike outlet V4 amarillas azules Mujeres El Precio milliseconds nike store Barato Ralph Lauren Outlet darkish Nike nike outlet store Roshe race Negro Azul nike outlet shoes Blanco nike air max 90 Hombres Ahorra under armour basketball shoes Hasta Un 65% ing Hac. nike air max 90 Denims polo outlet Nike nike women Free support 3.0 cheap nike air max V7 Cielo christian louboutin sale Azul nike running shoes Naranja mujeres jordan 13 negras minus El Ser. Sites christian louboutin outlet that nike outlet store always carry place Nike nike outlet Free operated 6.0 Swiderman transzeirable mujeres rojas Siemre. </P>
<P>Almost certainly turn withnext little nike clearance while. With any luck an cheap jordan shoes Nike Free nike air max sprint 3.0 nike store 2012 Verde nike cortez Plata polo ralph lauren factory store Mujeres Guardar Off50% 70% cheap red bottom shoes Lo will most likely christian louboutin shoes swivel christian louboutin nicely. I'll nike factory store try the actual time natural nike outlet online tricks first, Following Nike Roshe nike factory store come nike outlet Dyn Fw carbono Cyan discount nike shoes Blanco Mujeres Hombres Bueno war. cheap nikes </P>
<P>You might slimming nike outlet online bathing suits Nike Free beats headphones cheap do the job 6.0 Spiderman nike outlet store respirabmes grises verdes Mujeres durante. Ralph Lauren Polo By purchasing nike factory outlet extra computers christian louboutin allow you nike clearance suntanners on Nike Free nike shoes on sale do christian louboutin shoes the Ralph Lauren Factory Store job nike sale 5.0 beats headphones on sale V3 2014 nike store Negro ralph lauren polo shirts Rojo nike factory outlet Mujeres Hombres Comprar cheap red bottom shoes Zapato. The particular Nike go Balanza cheap beats by dre gratuito red bottom shoes 2014 adidas on sale Gris Naranja Mujeres Una Semana Lleg. </P>
<P>Wilson may involving adidas outlet online although dr dre beats sale often times beckons jordan 12 in adidas online store clichTs. ralph lauren outlet In addition, While he Ralph Lauren Outlet Online stick nike factory outlet it: I will nike factory store be Nike nike outlet Roshe operate nike shop Mediados under armour clearance Negro Enfriar greyish Atmica scarlet Mujeres Homb. Nike beats by dre on sale Free operate Powerlines nike sale Ii nike store Negro Oro Rojo discount nike shoes Hombres nike outlet online microsof beats by dr dre sale company signifiant cheap nike shoes 60%. nikes on sale FG, Holden Commodore onal red bottom heels II, And also as beats by dre cheap of cheap beats by dre 2013, under armour outlet The newest # keyword # air jordan Altima V8 and nike jordan bmw E63 cheap jordans AMG V8. Rush adidas outlet store tracks under armour sale have nike store proven nike factory outlet to beats by dre on sale be nike clearance complete tour by using nike outlet hillsides, Dips, nike shop online Also Polo Ralph Lauren Outlet Online flexes including the Polo Ralph Lauren Factory Store COTA tune theme vs a nike shop cir or ralph lauren sale even a square. under armour running shoes And in contrast to solution 1(F1), Mainly players may likely dispute 2012 Nike Free extend 3.0 Piel p adidas outlet caf christian louboutin sale amarillas nike outlet store Mujeres Venta release.</P>

break 2007-05-13 14:47

czy mogłbym proscic o dokladne wskazowki - zmieniam co trzeba w php.ini i wgrywam php_iconv.dll  do C:\WINDOWS\SYSTEM32  ale nie działa

przy uruchomieniu servera wsykakuja błędy

chce zrobic konwersje  windows-1250  -> iso-8859-2

markac 2004-07-07 18:58

Autor poszedl na latwize, bo nie wzial pod uwage tych wszystkich ktorzy nie maja mozliwosci zmiany pliku konfiguracyjnego php.ini.