jpsandiego / phpmemcacheadmin

Automatically exported from code.google.com/p/phpmemcacheadmin
0 stars 0 forks source link

invalid encoding on return command #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
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 commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
neuer server-administrator hh//Eugen

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