Skip to content

Instantly share code, notes, and snippets.

@marciofmjr
Created May 4, 2018 01:13
Show Gist options
  • Save marciofmjr/b127c62f34d18d5cb753cc22fec2bdc0 to your computer and use it in GitHub Desktop.
Save marciofmjr/b127c62f34d18d5cb753cc22fec2bdc0 to your computer and use it in GitHub Desktop.
Forcing charset in page
<?php header ('Content-type: text/html; charset=UTF-8'); ?>
<?php header ('Content-type: text/html; charset=ISO-8859-1'); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment