Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #21657 > unrolled thread
| Started by | NoS <NoS@nospam.no> |
|---|---|
| First post | 2017-08-11 08:23 +0200 |
| Last post | 2017-08-11 11:18 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to it.comp.www.php
Convertire codice html per scrittura su file NoS <NoS@nospam.no> - 2017-08-11 08:23 +0200
Re: Convertire codice html per scrittura su file fmigliori <fmigliori@gmail.com> - 2017-08-11 01:37 -0700
Re: Convertire codice html per scrittura su file NoS <NoS@nospam.no> - 2017-08-11 11:18 +0200
| From | NoS <NoS@nospam.no> |
|---|---|
| Date | 2017-08-11 08:23 +0200 |
| Subject | Convertire codice html per scrittura su file |
| Message-ID | <omjihu$1d2l$1@gioia.aioe.org> |
Scusate ho un momento di lapsus ed è sicuramente un domanda banale ma... devo stampare su un file .txt una stringa che contiene caratteri che in formato HTML code. La stringa è tipo questa: "dell' altra...". Riesco e decodificare quei codici senza usare un replace? Ho provato i vari htmlspecialchars_decode, htmlspecialchars(), utf8_decode, html_entity_decode() senza successo. --- Questa email è stata esaminata alla ricerca di virus da AVG. http://www.avg.com
[toc] | [next] | [standalone]
| From | fmigliori <fmigliori@gmail.com> |
|---|---|
| Date | 2017-08-11 01:37 -0700 |
| Message-ID | <1c2333fe-8608-4fef-b5ac-d2f7a7c10bf3@googlegroups.com> |
| In reply to | #21657 |
htmlspecialchars_decode('dell'altra', ENT_QUOTES)
[toc] | [prev] | [next] | [standalone]
| From | NoS <NoS@nospam.no> |
|---|---|
| Date | 2017-08-11 11:18 +0200 |
| Message-ID | <omjsph$t7j$1@gioia.aioe.org> |
| In reply to | #21658 |
Ti ringrazio, da quello che vedo così andrei "solo" a gestire gli apici,
corretto (cioè alla fine non equivale ad un replace)?
Devo aspettarmi altre sorprese per altri char?
Il 11/08/2017 10:37, fmigliori ha scritto:
> htmlspecialchars_decode('dell'altra', ENT_QUOTES)
---
Questa email è stata esaminata alla ricerca di virus da AVG.
http://www.avg.com
[toc] | [prev] | [standalone]
Back to top | Article view | it.comp.www.php
csiph-web