...

View Full Version : When I initalise inputs with charecter its not the



nikos101
02-23-2008, 11:46 AM
I have a strange problem. When I initalise inputs with character its not the character that I see but a weird �. But after the page is loaded the if I input a manually its fine.

abduraooft
02-23-2008, 11:52 AM
<input type="text" value="&pound;"> ??

rafiki
02-23-2008, 05:34 PM
http://www.w3schools.com/tags/ref_entities.asp
or if you have php you could use htmlentities?
http://php.net/htmlentities

oesxyl
02-23-2008, 05:45 PM
I have a strange problem. When I initalise inputs with character its not the character that I see but a weird �. But after the page is loaded the if I input a manually its fine.

your browser does not have the proper fonts and/or language sttings

best regards

_Aerospace_Eng_
02-23-2008, 06:54 PM
Got code? It could be the content-type causing the issue.

Apostropartheid
02-23-2008, 08:29 PM
It's probably a different font that doesn't support the &#163; character. Hmph!

nikos101
03-03-2008, 07:04 PM
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

and I'm using web safe fonts

Apostropartheid
03-03-2008, 07:59 PM
Doesn't mean they fully support the UTF-8 character plane, but I'm more sure of this being a character encoding mixmatch or something similar. Is your file saved as UTF-8?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum