Migrate from GitHub to SourceForge with this tool. Check out all of SourceForge's recent improvements.
Close

#22 Problem with unicode characters ending by "22"

closed
RBRi
None
5
2012-07-18
2008-04-01
No

hello,

With SACParserCSS2, the following style rule

span:before {
content: "•";
}

throws this error :

Error in style rule. Invalid token "\"". Was expecting one of: <S>, "}", ",", ";", "/", "+", "-", <HASH>, <STRING>, <URI>, <IMPORTANT_SYM>, "inherit", <EMS>, <EXS>, <LENGTH_PX>, <LENGTH_CM>, <LENGTH_MM>, <LENGTH_IN>, <LENGTH_PT>, <LENGTH_PC>, <ANGLE_DEG>, <ANGLE_RAD>, <ANGLE_GRAD>, <TIME_MS>, <TIME_S>, <FREQ_HZ>, <FREQ_KHZ>, <DIMEN>, <PERCENTAGE>, <NUMBER>, "rgb(", <FUNCTION>, <IDENT>, <UNICODERANGE>.
Ignoring the following declarations in this rule.

I did some other tests. I have an error when the hexadecimal value of the unicode character ends with "22".
• = 2022
Ģ = 0122
Т (russian) = 0422
and so on

I suppose it's because the hexadecimal value of the quote " is 22

Thanks,

Vincent

Discussion

  • Vincent Calame

    Vincent Calame - 2008-04-02

    Logged In: YES
    user_id=2051892
    Originator: YES

    Precision : the following syntax works (of course) :

    span:before {
    content: "\002022";
    }

     
  • RBRi

    RBRi - 2011-07-27

    Now fixed in SVN. Thanks for reporting.

     

Anonymous
Anonymous

Cancel  Add attachments