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

Strange characters on page

New Here ,
Apr 05, 2011 Apr 05, 2011

Hello,

I'm using cf9, and I'm having characters like è instead of è, or ò instead of ò. Page meta is utf-8, and browser encoding too... no setting whatever in application.cfc

Thanks

TOPICS
Getting started
1.3K
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
Enthusiast ,
Apr 05, 2011 Apr 05, 2011

On 4/5/2011 2:58 PM, Silvestro said:

>

Hello, I'm using cf9, and I'm having characters like è instead of è, or ò

instead of ò. Page meta is utf-8, and browser encoding too... no setting

whatever in application.cfc

encoding has gone wrong someplace along the way. where is the text data coming from?

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
New Here ,
Apr 05, 2011 Apr 05, 2011

It is just on a static page.

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
Enthusiast ,
Apr 05, 2011 Apr 05, 2011

On 4/5/2011 3:23 PM, Silvestro said:

>

It is just on a static page.

then try adding to the top of that

page.

if it's still mojibake, then whatever you're using to edit the page isn't

producing utf-8 encoded text.

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
New Here ,
Apr 05, 2011 Apr 05, 2011

Sorry I'm missing part of the answer, 'try adding [...] to the top' ?

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
Enthusiast ,
Apr 05, 2011 Apr 05, 2011

On 4/5/2011 5:49 PM, Silvestro said:

>

Sorry I'm missing part of the answer, 'try adding to the top' ?

and you couldn't guess

sorry, keep forgetting about these forums mangling email replies.

the tag:

cfprocessingDirective pageEncoding="utf-8"

btw what are you using to edit the cf pages?

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
New Here ,
Apr 05, 2011 Apr 05, 2011

I've put your suggested code, but at no avail...

I'm using Dreamweaver 8...

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
Enthusiast ,
Apr 05, 2011 Apr 05, 2011
LATEST

On 4/6/2011 1:21 AM, Silvestro said:

I've put your suggested code, but at no avail...

I'm using Dreamweaver 8...

then DW's not actually adding utf-8 encoded text. either change the encoding

settings in DW (i have no idea how) or change your web page's encoding (html

header, cfprocessingDirective, etc.) to iso-8859-1 (guessing that's what DW's

using).

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