homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Is ► a safe character to use on a web site?
Marvin Hlavac




msg:4205986
 7:04 pm on Sep 23, 2010 (gmt 0)

Instead of

>

I would like to use

►

but I don't know if it is a safe character? It does display on my FF, IE, Opera, and Chrome, but will it display fine all around the world?

Any assistance/explanation will be much appreciated.

 

birdbrain




msg:4205993
 7:21 pm on Sep 23, 2010 (gmt 0)

Hi there Marvin_Hlavac,

It does display on my FF, IE, Opera, and Chrome, but will it display fine all around the world?

By the same token, how are you so certain that > will display fine all around the world? ;)

birdbrain

Marvin Hlavac




msg:4205999
 7:27 pm on Sep 23, 2010 (gmt 0)

&gt is on my keyboard, and also many sites use &gt, so I'm assuming there is no issue.

Are you saying I'm OK to use ►?

birdbrain




msg:4206030
 8:42 pm on Sep 23, 2010 (gmt 0)

Hi there Marvin_Hlavac,

Are you saying I'm OK to use ►?

Well, you have tested it in four of the most popular worldwide browsers. ;)

birdbrain

Marvin Hlavac




msg:4206040
 8:56 pm on Sep 23, 2010 (gmt 0)

I just noticed Google.com uses ▼ which is a character identical in shape to the ► only it is rotated 90 degrees. So I guess I'm safe to use the ►.

Thanks.

swa66




msg:4209965
 2:19 pm on Oct 1, 2010 (gmt 0)

It all depends on what encoding your server and pages are saying the content is encoded in.
If you use unicode characters, make absolutely sure your pages tell the browser the page is encoded in UTF-8 (or UTF16, in the unlikely event you should opt for that).

If your pages state they are encoded in e.g. ISO-LATIN-1 or so, that that character is a liability and likely to blow up soon rather than late.

If you let browser guess what encoding to use it's even worse: you cannot predict it anymore and the order of what they encounter becomes important and the like.

Aside of that, if you type it or use a htmlencoding to represent it isn't relevant anymore for a modern browser.

Bottom line go for it. But DO make 100% sure your html is sent clearly indicating it is encoded in UTF-8, or it'll not be safe.

Marvin Hlavac




msg:4209979
 2:56 pm on Oct 1, 2010 (gmt 0)

swa66, I much appreciate your explanation. I don't know much about these things, but looking through the source code of my pages I've found the following:

<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

Is this good or bad?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved