Struggling with different character types...
protected void Page_Load(object sender, EventArgs e)
{
char test = '\uABCD'; //Assigns Unicode character to the variable 'test'
}
But this approach is causing issues:
protected void Page_Load(object sender, EventArgs e)
{
char test = '\uEFGH';
// Compiler error: "Too many characters in literal"
// However, this value works when used in CSS content attribute.
}
How can I assign the latter value to the test variable? Is it because one is a unicode value and the other is not?