Flex帮助告诉我们,要在MXML的属性中使用特殊字符,可以使用HTML实体。但有的字符,没有HTML实体可用(例如换行符)。如果我需要在toolTip属性中换行,怎么办呢?答案是使用Latin字符集。对应的换行符的表示法是

下面是一个比较全的对照表,转自旺仔的专栏


字符 十进制字符编号 实体名字 说明

— � — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

— 	 — 制表符Horizontal
tab

— 
 — 换行Line feed

—  — 未使用Unused

—  — 未使用Unused

— 
 — 回车Carriage
Return

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

—  — 未使用Unused

&\#32;             ---                Space

! ! — 惊叹号Exclamation
mark

“ " " 双引号Quotation
mark

# # — 数字标志Number
sign

\$ $ — 美元标志Dollar
sign

% % — 百分号Percent sign

& & & Ampersand

‘ ' — 单引号Apostrophe

( ( — 小括号左边部分Left
parenthesis

) ) — 小括号右边部分Right

parenthesis

* * — 星号Asterisk

  • + — 加号Plus sign

    , , — 逗号Comma

  • - — 连字号Hyphen

    . . — 句号Period

    (fullstop)
    

    / / — 斜杠Solidus

    (slash)
    

    0 0 — 数字0 Digit 0

    1 1 — 数字1 Digit 1

    2 2 — 数字2 Digit 2

    3 3 — 数字3 Digit 3

    4 4 — 数字4 Digit 4

    5 5 — 数字5 Digit 5

    6 6 — 数字6 Digit 6

    7 7 — 数字7 Digit 7

    8 8 — 数字8 Digit 8

    9 9 — 数字9 Digit 9

    : : — 冒号Colon

    ; &#59; — 分号Semicolon

    \< &#60; < 小于号Less than

    = &#61; — 等于符号Equals

    sign
    

    > &#62; > 大于号Greater than

    ? &#63; — 问号Question mark

    @ &#64; — Commercial at

    A &#65; — 大写A Capital A

    B &#66; — 大写B Capital B

    C &#67; — 大写C Capital C

    D &#68; — 大写D Capital D

    E &#69; — 大写E Capital E

    F &#70; — 大写F Capital F

    G &#71; — 大写G Capital G

    H &#72; — 大写H Capital H

    I &#73; — 大写J Capital I

    J &#74; — 大写K Capital J

    K &#75; — 大写L Capital K

    L &#76; — 大写K Capital L

    M &#77; — 大写M Capital M

    N &#78; — 大写N Capital N

    O &#79; — 大写O Capital O

    P &#80; — 大写P Capital P

    Q &#81; — 大写Q Capital Q

    R &#82; — 大写R Capital R

    S &#83; — 大写S Capital S

    T &#84; — 大写T Capital T

    U &#85; — 大写U Capital U

    V &#86; — 大写V Capital V

    W &#87; — 大写W Capital W

    X &#88; — 大写X Capital X

    Y &#89; — 大写Y Capital Y

    Z &#90; — 大写Z Capital Z

    [ &#91; — 中括号左边部分Left

    square bracket
    

    \ &#92; — 反斜杠Reverse

    solidus
    (backslash)
    

    ] &#93; — 中括号右边部分Right

    square bracket
    

    \^ &#94; — Caret

    _ &#95; — 下划线Horizontal

    bar (underscore)
    

    ` &#96; — 尖重音符Acute

    accent
    

    a &#97; — 小写a Small a

    b &#98; — 小写b Small b

    c &#99; — 小写c Small c

    d &#100; — 小写d Small d

    e &#101; — 小写e Small e

    f &#102; — 小写f Small f

    g &#103; — 小写g Small g

    h &#104; — 小写h Small h

    i &#105; — 小写i Small i

    j &#106; — 小写j Small j

    k &#107; — 小写k Small k

    l &#108; — 小写l Small l

    m &#109; — 小写m Small m

    n &#110; — 小写n Small n

    o &#111; — 小写o Small o

    p &#112; — 小写p Small p

    q &#113; — 小写q Small q

    r &#114; — 小写r Small r

    s &#115; — 小写s Small s

    t &#116; — 小写t Small t

    u &#117; — 小写u Small u

    v &#118; — 小写v Small v

    w &#119; — 小写w Small w

    x &#120; — 小写x Small x

    y &#121; — 小写y Small y

    z &#122; — 小写z Small z

    { &#123; — 大括号左边部分Left

    curly brace
    

    | &#124; — 竖线Vertical bar

    } &#125; — 大括号右边部分Right

    curly brace
    

    ~ &#126; — Tilde

    — &#127; — 未使用Unused

    &#160;   空格Nonbreaking

    space
    

    ¡ &#161; ¡ Inverted

    exclamation
    

    ¢ &#162; ¢ 货币分标志Cent

    sign
    

    £ &#163; £ 英镑标志Pound

    sterling
    

    ¤ &#164; ¤ 通用货币标志General

    currency sign
    

    ¥ &#165; ¥ 日元标志Yen sign

    ¦ &#166; ¦ or 断竖线Broken

    &brkbar;           vertical bar
    

    § &#167; § 分节号Section sign

    ¨ &#168; ¨ or ¨ 变音符号Umlaut

    © &#169; © 版权标志Copyright

    ª &#170; ª Feminine ordinal

    « &#171; « Left angle quote,

    guillemet left
    

    ¬ &#172; &not Not sign

    ­ &#173; ­ Soft hyphen

    ® &#174; ® 注册商标标志Registered

    trademark
    

    ¯ &#175; ¯ or &hibar; 长音符号Macron

    accent
    

    ° &#176; ° 度数标志Degree

    sign
    

    ± &#177; ± 加或减Plus or

    minus
    

    ² &#178; ² 上标2 Superscript

    two
    

    ³ &#179; ³ 上标3 Superscript

    three
    

    ´ &#180; ´ 尖重音符Acute

    accent
    

    µ &#181; µ Micro sign

    ¶ &#182; ¶ Paragraph sign

    · &#183; · Middle dot

    ¸ &#184; ¸ Cedilla

    ¹ &#185; ¹ 上标1 Superscript

    one
    

    º &#186; º Masculine ordinal

    » &#187; » Right angle quote,

    guillemet right
    

    ¼ &#188; ¼ 四分之一Fraction

    one-fourth
    

    ½ &#189; ½ 二分之一Fraction

    one-half
    

    ¾ &#190; ¾ 四分之三Fraction

    three-fourths
    

    ¿ &#191; ¿ Inverted question

    mark
    

    À &#192; À Capital A, grave

    accent
    

    Á &#193; Á Capital A, acute

    accent
    

    Â &#194; Â Capital A,

    circumflex
    

    Ã &#195; Ã Capital A, tilde

    Ä &#196; Ä Capital A, di?esis

    / umlaut
    

    Å &#197; Å Capital A, ring

    Æ &#198; Æ Capital AE

    ligature
    

    Ç &#199; Ç Capital C, cedilla

    È &#200; È Capital E, grave

    accent
    

    É &#201; É Capital E, acute

    accent
    

    Ê &#202; Ê Capital E,

    circumflex
    

    Ë &#203; Ë Capital E, di?esis

    / umlaut
    

    Ì &#204; Ì Capital I, grave

    accent
    

    Í &#205; Í Capital I, acute

    accent
    

    Î &#206; Î Capital I,

    circumflex
    

    Ï &#207; Ï Capital I, di?esis

    / umlaut
    

    Ð &#208; Ð Capital Eth,

    Icelandic
    

    Ñ &#209; Ñ Capital N, tilde

    Ò &#210; Ò Capital O, grave

    accent
    

    Ó &#211; Ó Capital O, acute

    accent
    

    Ô &#212; Ô Capital O,

    circumflex
    

    Õ &#213; Õ Capital O, tilde

    Ö &#214; Ö Capital O, di?esis

    / umlaut
    

    × &#215; × 乘号Multiply sign

    Ø &#216; Ø Capital O, slash

    Ù &#217; Ù Capital U, grave

    accent
    

    Ú &#218; Ú Capital U, acute

    accent
    

    Û &#219; Û Capital U,

    circumflex
    

    Ü &#220; Ü Capital U, di?esis

    / umlaut
    

    Ý &#221; Ý Capital Y, acute

    accent
    

    Þ &#222; Þ Capital Thorn,

    Icelandic
    

    ß &#223; ß Small sharp s,

    German sz
    

    à &#224; à Small a, grave

    accent
    

    á &#225; á Small a, acute

    accent
    

    â &#226; â Small a,

    circumflex
    

    ã &#227; ã Small a, tilde

    ä &#228; ä Small a, di?esis /

    umlaut
    

    å &#229; å Small a, ring

    æ &#230; æ Small ae ligature

    ç &#231; ç Small c, cedilla

    è &#232; è Small e, grave

    accent
    

    é &#233; é Small e, acute

    accent
    

    ê &#234; ê Small e,

    circumflex
    

    ë &#235; ë Small e, di?esis /

    umlaut
    

    ì &#236; ì Small i, grave

    accent
    

    í &#237; í Small i, acute

    accent
    

    î &#238; î Small i,

    circumflex
    

    ï &#239; ï Small i, di?esis /

    umlaut
    

    ð &#240; ð Small eth,

    Icelandic
    

    ñ &#241; ñ Small n, tilde

    ò &#242; ò Small o, grave

    accent
    

    ó &#243; ó Small o, acute

    accent
    

    ô &#244; ô Small o,

    circumflex
    

    õ &#245; õ Small o, tilde

    ö &#246; ö Small o, di?esis /

    umlaut
    

    ÷ &#247; ÷ 除号Division sign

    ø &#248; ø Small o, slash

    ù &#249; ù Small u, grave

    accent
    

    ú &#250; ú Small u, acute

    accent
    

    û &#251; û Small u,

    circumflex
    

    ü &#252; ü Small u, di?esis /

    umlaut
    

    ý &#253; ý Small y, acute

    accent
    

    þ &#254; þ Small thorn,

    Icelandic
    

    ÿ &#255; ÿ Small y, umlaut


留言

2009-02-28
次访问