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

invalid encoding on return command #10

Closed
GoogleCodeExporter opened this issue Mar 5, 2016 · 3 comments
Closed

invalid encoding on return command #10

GoogleCodeExporter opened this issue Mar 5, 2016 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. goto commands.php
2. search a key that return utf-8 caracters (for example "ñ")

What is the expected output? What do you see instead?
expected:

   Server 127.0.0.1:11211
   suggest=ñ

returned:

   Server 127.0.0.1:11211
   suggest=ñ

What version of the product are you using? On what operating system?

 1.2.0

Please provide any additional information below.

change the line 110 for 

   return $header . htmlentities($return, ENT_NOQUOTES | ENT_IGNORE, "UTF-8") . "\r\n";

instead of

   return $header . htmlentities($return) . "\r\n";



Original issue reported on code.google.com by jkutian...@gmail.com on 7 Apr 2011 at 7:39

@GoogleCodeExporter
Copy link
Author

I forget to mention that the line is from "Library/HTML/Components.php"

Original comment by jkutian...@gmail.com on 7 Apr 2011 at 7:41

@GoogleCodeExporter
Copy link
Author

Hello,

Thanks you for reporting this issue.

I've made the correction and uploaded version 1.2.1.

Best
Cyrille

Original comment by eli...@free.fr on 8 Apr 2011 at 8:47

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

neuer server-administrator hh//Eugen


Original comment by eugen.j....@gmail.com on 25 Apr 2013 at 2:52

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

No branches or pull requests

1 participant