Join us at IRC!
The important thing is not to stop questioning. - Albert Einstein
Wednesday, May 23, 2012
Navigation
Members Online
Total Online: 32
Web Spiders: 16
Guests Online: 29
Members Online: 3

Registered Members: 70162
Newest Member: Windows-2012
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Author

Apostrophe replaced by square

wired_al
Member

Posts: 16
Location:
Joined: 03.04.10
Rank:
Active User
Posted on 31-01-11 18:41
I am working on a website for a competition. For some reason when I use an Apostrophe, as in "Welcome to the Minico TSA Chapter's homepage" it is replaced with a square. I have tried a few escape sequences, but it is still a square. The really weird part is that it is only a sqaure when returned by the AJAX, but if I visit the source page, then it is an apostraphe. The browser is IE 8 on windows 7.

Does anyone know how to make this work?
Thanks
wired_al
Author

RE: Apostrophe replaced by square

Mr_Cheese
HBH Owner



Posts: 2468
Location: Brighton, UK
Joined: 30.11.04
Rank:
God
Posted on 31-01-11 19:30
it'll most likely be your character encoding your using on the site.

try changing it to UTF-8
Author

RE: Apostrophe replaced by square

chess_rock
Member



Posts: 243
Location:
Joined: 20.02.08
Rank:
God
Posted on 31-01-11 19:32
Have you tried switching to some other codification such as UTF-8?
Author

RE: Apostrophe replaced by square

stealth-
Member



Posts: 995
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 01-02-11 01:45
chess_rock wrote:
codification


What?


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com
http://www.stealth-x.com
Author

RE: Apostrophe replaced by square

define
Member

Posts: 201
Location:
Joined: 13.12.08
Rank:
Moderate
Warn Level: 1
Posted on 01-02-11 02:10
Use the HTML entity instead of the apostrophe. That would be & rsquo; (without the space between the ampersand and the "rsquo;" part).


If you need to contact me, send me a PM. I will read and/or respond in time.

Edited by define on 01-02-11 02:11
Author

RE: Apostrophe replaced by square

AldarHawk
The Manager



Posts: 1661
Location: Canada
Joined: 26.01.06
Rank:
God
Posted on 01-02-11 13:27
If you copied the words from a program like MS-Word there lies your problem. These programs use the stylized versions of the " and ' symbols. To be 100% certain there are no problems ensure the change all " and ' into the HTML code of them.


I(don't)See Just ask Yahoo!Taboo! http://www.erikwestlake.com
Author

RE: Apostrophe replaced by square

j4m32
Member

Posts: 81
Location:
Joined: 01.05.10
Rank:
God
Posted on 01-02-11 14:47
stealth- wrote:
chess_rock wrote:
codification


What?


I think chess_rock, if I am not mistaken speaks Spanish or Portuguese as his first language, in Spanish they would probably say "codificaci๓n del documento" document encoding (literally it's encoding of the document). I imagine it's something similar in Portuguese.

Jim,
Author

RE: Apostrophe replaced by square

stealth-
Member



Posts: 995
Location: Eh?
Joined: 10.04.09
Rank:
God
Posted on 01-02-11 23:53
Ah, damn, and here I thought I was mocking his spontaneous creation of words.


The irony of man's condition is that the deepest need is to be free of the anxiety of death and annihilation; but it is life itself which awakens it, and so we must shrink from being fully alive.
http://www.stealth-x.com

Edited by stealth- on 01-02-11 23:54
http://www.stealth-x.com
Guest
Username

Password

Remember Me


Bookmark This Page
Affiliates
Adverts

 

 

Links
By using, viewing or obtaining any information contained on this site, you agree to the disclaimer.

© HellBound Hackers 2008- 2009. Since 3rd December 2004.