xss_clean 에서
$str = preg_replace_callback("/<\w+.*?(?=>|<|$)/si", array($this, '_html_entity_decode_callback'), $str);
....
function _html_entity_decode($str, $charset='UTF-8') {
if (stristr($str, '&') === FALSE) return $str;
....
위 정규식에 포함되는 문자열 중에 & 가 들어가 있으면 html_entity_decode 함수를 실행하게 됩니다.
그런데 html_entity_decode 함수는 euc-kr 을 지원하지 않습니다.
Severity: Warning
Message: html_entity_decode() [function.html-entity-decode]: charset `EUC-KR' not supported, assuming iso-8859-1
Filename: libraries/Input.php
Line Number: 1017