Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #14041

Re: encoding

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.php
Subject Re: encoding
Date 2014-06-26 07:04 +0000
Organization A noiseless patient Spider
Message-ID <loggl4$sdo$7@dont-email.me> (permalink)
References <logcae$sdo$4@dont-email.me>

Show all headers | View raw


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@gmail.com

Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: encoding Denis McMahon <denismfmcmahon@gmail.com> - 2014-06-26 07:04 +0000
  Re: encoding Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-26 13:20 +0200

csiph-web