首页
Tutorials
API
DEMO
Google Group
Source Code
English API Docs
Navigation
index
modules
|
next
|
previous
|
KISSY v1.2 Documentation
»
API Documentation
»
Seed
»
lang
»
fromUnicode
¶
Module
¶
seed
Methods
¶
KISSY.
fromUnicode
(
)
¶
Boolean
KISSY.fromUnicode
(str)
将 str 中 unicode 转义的字符替换成真实字符. 主要用于 taobao 用户名 cookie 读取.
Parameters:
str
(
string
) – 包含 unicode 转义的字符串
Returns:
unicode 转义后的字符串
Return type:
string
例如
KISSY
.
fromUnicode
(
"\\u627F\\u7389"
)
// => "承玉"
Navigation
index
modules
|
next
|
previous
|
KISSY v1.2 Documentation
»
API Documentation
»
Seed
»
lang
»
Seed
loader
kissy
lang
web
Core
ua
dom
event
node
json
ajax
cookie
base
anim
Component
sizzle
mvc
template
datalazyload
flash
dd
resizable
switchable
suggest
calendar
imagezoom
overlay
uibase
component
button
menu
menubutton
tree
waterfall
validation
editor