1

I'm using the ☆ ( & s t a r ;) html entity on a webpage ( http://www.shermanbrothers.com ), but it's not being decoded correctly in the android browser. It actually lierally outputs: & s t a r ; I was thinking and hoping that html entities had good support in the browsers, but not in this case, at least.

I read somewhere that using the numbered equivalents has better support but I haven't been able to find a resource for translating entities.

My server is serving unicode, so maybe that is a better alternative?

1

3 Answers 3

2

The one you want is ★ (black star) or the ☆ (white star with black borders). This should work in all browsers, including the android/ios one.

Sign up to request clarification or add additional context in comments.

Comments

1

A good site for this is the Unicode Search site, found here. What you want is probably ☆

Decimal: ☆
Hexadecimal: ☆

Comments

0

Is there a reason that you aren't using an image instead? In that case, you avoid any differences that may exist in browser decoding.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.