Apostrophe display issue in view file

Hi folks,

I have some user name with Apostrophe, where these names are displayed
in view files with some unwanted characters instead of Apostrophe.

For example,

Bottom’s Profile page is the original string and it is displaying in
browser like this.

Bottomn’s Profile page.

Can any one suggest how to overcome this, or how to identify this
special character.

FYI, this “Bottom’s Profile page” input is entered from a Mac notebook,
where I tried the same from Windows PC and that was displayed properly.
Seems in Mac and in some other OS this Apostrophe character is not
supported well.

Any suggestions are welcome, Thanks in advance.

Regards,
Veeraa

On Jul 2, 7:40 am, Veera S. [email protected]
wrote:

Hi folks,

I have some user name with Apostrophe, where these names are displayed
in view files with some unwanted characters instead of Apostrophe.

It’s probably because your apostropke is actually not a normal
apostrophe but one of word’s fancy curly quote things.

Fred

Veera S. wrote:
[…]

FYI, this “Bottom’s Profile page” input is entered from a Mac notebook,
where I tried the same from Windows PC and that was displayed properly.
Seems in Mac and in some other OS this Apostrophe character is not
supported well.

The character is supported just fine, but you need to make sure that
you’re using the correct character encoding for storage and display –
otherwise you’ll have problems like what you’re seeing. Declare UTF-8
encoding in your HTML element and you should be OK.

Any suggestions are welcome, Thanks in advance.

Regards,
Veeraa

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]