This project is read-only.

Too many characters in character literal

Apr 11, 2016 at 3:49 PM
        if ( token.Key == "emdash")
        {
            CheckBuffer();
            myStr.Append('¡ª'); /* Here */
            return true;
        }


                if( node.Keyword == "emdash")
                {
                    AddString( myStr , buffer );
                    // notice!! This code may cause compiler error in OS which not support chinese character.
                    // you can change to myStr.Append('-');
                    myStr.Append( '¡ª'); /* here */
                    continue ;
                }
                if( node.Keyword == "" )
                {
                    AddString( myStr , buffer );
                    // notice!! This code may cause compiler error in OS which not support chinese character.
                    // you can change to myStr.Append('-');
                    myStr.Append( '¨C' ); /* here */
                    continue ;
                }

In the above 3 places marked " / here /", I get the below error when trying to compile.

Error 3 Too many characters in character literal
Apr 11, 2016 at 3:54 PM
Ok.

I saw the error on the first one....but now see the COMMENT on the second and third one.

_ // notice!! This code may cause compiler error in OS which not support chinese character.
                    // you can change to myStr.Append('-');_

I will use that suggestion.