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

Cracked encoding problem in excel_reader2.php , v2.21. #189

Open
GoogleCodeExporter opened this issue Mar 21, 2016 · 0 comments
Open

Cracked encoding problem in excel_reader2.php , v2.21. #189

GoogleCodeExporter opened this issue Mar 21, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link


Cracked encoding problem in Excel_reader2.php, v2.21. 
for reference, I used the Korean.

It can be solved in the following ways.

1. about 635 lines,
   htmlentitles() : this function is not support Korean, or other Language encoding.
                    Delete this line, or Maybe can be solved by changing the htmlspecialchars() function.

2. about 635 lines,
   $val = "<a href=\"$link\">$val</a>";
   Quote next to the $val is wrong.

   Modify to

   $val = "<a href=\"$link\">".$val."</a>";


----------------------------------------------------------------------------

v2.21에서 한글 깨짐 등 인코딩 문제가 발생합니다.
참고로, 한국어 입니다. 

1. 635 라인 근처의 htmlentitles() 함수는 한국어 인코딩을 
지원하지 않습니다. 혹은 다른 언어 인코딩에서도 
마찬가지일 수 있습니다. 
해당 라인을 삭제하거나, htmlspecialchars() 함수를 사용하면 
해결될 수도 있습니다. 

2. 635 라인 근처
  $val = "<a href=\"$link\">$val</a>";
   $val 근처 따옴표 처리가 잘못 되어 있습니다.

   아래와 같이 수정하면 될 것 같습니다.
   $val = "<a href=\"$link\">".$val."</a>";


* 해외 포럼에서 한국어가 보이면 술을 쏜다는 친구의 
약속에 짧은 영어와 더불어 한국어로도 남겨 놓습니다. 

Original issue reported on code.google.com by [email protected] on 2 Jun 2014 at 1:44

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