Skip to content

Instantly share code, notes, and snippets.

@mustafauysal
Last active August 20, 2018 20:06
Show Gist options
  • Select an option

  • Save mustafauysal/6294112 to your computer and use it in GitHub Desktop.

Select an option

Save mustafauysal/6294112 to your computer and use it in GitHub Desktop.
Solution for the oracle character issue [PHP]

If you are going crazy with charecter issue due to oracle connection;

add this:

putenv ("NLS_LANG=AMERICAN_AMERICA.AL32UTF8");

before connection string.

Full list here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment