🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.php
2 messages
2 total messages Started by Jakub Sat, 05 Dec 2015 11:31
html_entity_decode encje
#231198
Author: Jakub
Date: Sat, 05 Dec 2015 11:31
10 lines
1139 bytes
Witam

funkcja html_entity_decode ta zamienia wszystkie encja na znaki.

Poszukuję jakiegoś sposobu aby zamienić tylko  polskie litery z encji na 
znaki,
i pozostawienie reszty encji bez zmian

Z góry dziękuje
Jakub 
Re: html_entity_decode encje
#231199
Author: Borys Pogoreło
Date: Sun, 06 Dec 2015 14:09
14 lines
1202 bytes
Dnia Sat, 5 Dec 2015 12:31:15 +0100, Jakub napisał(a):

> funkcja html_entity_decode ta zamienia wszystkie encja na znaki.
> 
> Poszukuję jakiegoś sposobu aby zamienić tylko  polskie litery z encji na 
> znaki,
> i pozostawienie reszty encji bez zmian

Zwykłe str_replace(), ale stworzenie listy encji do zamiany to już zadanie
dla czytelnika.

-- 
Borys Pogoreło
borys(#)leszno,edu,pl
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads