Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF fix #36

Open
JustinDupree opened this issue Nov 22, 2012 · 1 comment
Open

UTF fix #36

JustinDupree opened this issue Nov 22, 2012 · 1 comment

Comments

@JustinDupree
Copy link

Proposed edits to the tropo.class.php file to fix UTF:

  • Open it and search for this piece of text (it should be around line 667) - return str_replace(array("", ""{", "}""), array("", "{", "}"), $json);
  • Once you find it, replace it with this - return str_replace(array('"', ""{", "}"", '\/', '\'), array('"', "{", "}", '/', ''), $json);
@kevinbond
Copy link

I am working on the fix now. The line should actually be replaced with the following:

return str_replace(array('"', ""{", "}"", '\/', '\\'), array('"', "{", "}", '/', '\'), $json);

@kevinbond kevinbond mentioned this issue Nov 22, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants