Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Display Format

Guest
Jan 23, 2008 Jan 23, 2008
Hi all,

When i am posting the message its not able to display properly on the web page. i.e junk character added instead of special characters.

My Message :

It’s been over two years.

Output on webpage is :

It�s been over two years (junk charcter in between Its instead of symbol ' )


Thanks

Ravi

312
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 23, 2008 Jan 23, 2008
This is a character encoding issue. The browser does not understand all
the characters you are trying to display according to the encoding
information it was given. If you are not dealing with foreign
languages, then you are probably running against Microsoft Word's use of
'extended' characters such as curly quotes and em and en dashes. A web
page using the vanilla 'ascii' encoding does not understand these
extended characters.

You can either use a encoding that does understand them such as UTF-8 or
windows-1252. Or you can convert your output to plain ascii that uses
regular quotes and dashes rather the the extended ones.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 24, 2008 Jan 24, 2008
I have tried with the charset=windows1252 but its not working..... I have one more web page but on that page it dispaly well....


Thanks
Ravi
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 24, 2008 Jan 24, 2008
bachwala wrote:
> I have tried with the charset=windows1252 but its not working..... I have one more web page but on that page it dispaly well....
>
>
> Thanks
> Ravi

To change the character encoding takes a bit more then just setting the
charset in the META tag I presume. Check out the documentation on how
to 'internationalize' ColdFusion. There are several tags and setting
involved.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 24, 2008 Jan 24, 2008
LATEST
You may need to escape the character in your page

take a look at his page

http://www.dragonwinds.com/resources/html-codes.shtml
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources