Korean is not converted when sending parameter of URI on IE. it can be fixed to encode parameter. Javascript supports two kinds of encoding(decoding) function.
encodeURI()
다음의 UTF-8 제어문자열(escape sequences)을 제외한 나머지를 변환해준다.It converts all characters except the following with the appropriate UTF-8 escape sequences :
Type | Includes |
Reserved characters | ; , / ? : @ & = + $ |
Unescaped characters | alphabetic, decimal digits, - _ . ! ~ * ' ( ) |
Number sign | # |
encodeURIComponnent()
다음의 문자열을 제외한 모든 문자열을 변환해준다.It converts all characters except the following :
Type | Includes |
Reserved characters | |
Unescaped characters | alphabetic, decimal digits, - _ . ! ~ * ' ( ) |
Number sign |
댓글 없음:
댓글 쓰기