외부파일에서 특수문자 읽어오기
플래시테크노트 업데이트.
post from Macromedia – Flash TechNote : URL Encoding: Reading special characters from a text file
The example below illustrates how special characters can be retained using URL encoding:
A text file containing the following variable value will read into Flash as ‘Cost= 85′, dropping the + character:
A text file containing the following variable value will read into Flash as ‘Cost= 85′, dropping the + character:
Cost=+85
However, using URL encoding to replace the + character the original text will result in Flash displaying ‘Cost= +85′ correctly:
Cost=%2b85
URL encoded 된 문자열은 unescape() 메써드를 이용하여 원래의 값으로 반환할 수 있다.
About this entry
You’re currently reading “외부파일에서 특수문자 읽어오기,” an entry on multiplicité
- Published:
- Friday, January 7th, 2005 at 4:35 pm
- This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea.
- Author:
- vizualizer
- Category:
- techne
No comments
Jump to comment form | comments rss