FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » encoding
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: encoding [message #186327 is a reply to message #186326] Thu, 26 June 2014 07:04 Go to previous messageGo to previous message
Denis McMahon is currently offline  Denis McMahon
Messages: 634
Registered: September 2010
Karma:
Senior Member
On Thu, 26 Jun 2014 05:50:06 +0000, Denis McMahon wrote:

> I'm not sure how to fix this. Ideas anyone?

Fix was:

htmlentities( $string, ENT_COMPAT, "UTF-8" );

Not sure if I actually need the setlocale or not. Seems to work without
it.

ENT_HTML5 isn't supported in my server distro's current php (5.3) ...
mutter mutter

--
Denis McMahon, denismfmcmahon(at)gmail(dot)com
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: SplFileObject always returns an extra "last" line -- why?
Next Topic: how to revise my User Contributed Note on php.net
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 04:03:12 GMT 2024

Total time taken to generate the page: 0.04130 seconds