Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.www.php > #21213
| From | Alessandro Pellizzari <shuriken@amiran.it> |
|---|---|
| Newsgroups | it.comp.www.php |
| Subject | Re: PDO salva metà stringa senza errore |
| Date | 2016-10-19 16:09 +0100 |
| Message-ID | <e6pglnF56j4U1@mid.individual.net> (permalink) |
| References | <nu7t29$3bc$1@virtdiesel.mng.cu.mi.it> |
On 19/10/2016 14:39, RedWiz wrote: > Insomma praticamente quello che succede è che nel db mi ritrovo tutta la > stringa *fino* alla prima occorrenza di quei caratteri, poi niente. (???) > Qualcuno ha qualche idea? Sono emoji. Se non ricordo male PDO::quote fa l'escape in base al DB a cui sei connesso. Controlla se hai settato utf8mb4 su MySQL. Se hai solo utf8 o, peggio, iso-8859-1, probabilmente te li tronca per quel motivo. Bye.
Back to it.comp.www.php | Previous | Next — Previous in thread | Find similar | Unroll thread
PDO salva metà stringa senza errore RedWiz <redwiz@inwind.it> - 2016-10-19 13:39 +0000 Re: PDO salva metà stringa senza errore RedWiz <redwiz@inwind.it> - 2016-10-19 14:08 +0000 Re: PDO salva metà stringa senza errore Alessandro Pellizzari <shuriken@amiran.it> - 2016-10-19 16:09 +0100
csiph-web