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

Strange Characters

Contributor ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

The company that I upload my stories to has just changed their server and the new server doesn't handle non-ASCI letters. I've had to go back and edit all my stories to add the correct HTML code for è and ö and á for example. But I have some text that for some reason I can't edit. This is a section from my story as it appears when opened from their website:

Geena: &quot;Did I surprise you this morning?&quot;<br />

Me:Â "You sure did!"

I didn't want to ask her how she found out as I didn't want to admit it was true.

Geena:Â "U wanna know how I found out?"

Me:Â "I'm not admitting anything, but yes."

This is the code and as you can see there's no code that corresponds with the Â

Geena: &quot;Did I surprise you this morning?&quot;<br />

          <br />

          Me: &quot;You sure did!&quot;<br />

          <br />

          I didn't want to ask her how she found out as I didn't want to admit it was true.<br />

          Geena: &quot;U wanna know how I found out?&quot;<br />

Any idea what's going on her?

Thanks

Alan

Views

1.4K
Translate

Report

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
Community Expert ,
Sep 28, 2017 Sep 28, 2017

Copy link to clipboard

Copied

What happens in DW if...

1. Open the page

2. Go to View > Code View Options

3. Put a check mark by Hidden Characters

That might show the space between those characters as something other than a standard space.

Votes

Translate

Report

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
Engaged ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

Check to see if you can add the UTF-8 meta tag to your pages. It may save some time.

<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

Your page probably contains the byte sequence (C2A0), which is UTF-8 encoding of the "no-break space" character (U+00A0)

In ISO 8859-1 the byte sequence (C2A0) is an  character (U+00C2) followed by a "no-break space" character (U+00A0).

Votes

Translate

Report

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
Contributor ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

Okay. I did what Jon said and there is nothing in that space other than a dot (I presume that just indicates a space).

I did what servitor suggested and the  is still there. Strange but in another story with texts I don't have this problem as I used a different font in parenthesis. That may or may not have any bearing on the issue.

I also had issue with special characters not displaying correctly (à and é and ö etc.). I was told by a friend that it was due to the new server. UTF-8 doesn't render non-ASCI characters because of bit sizes used for the alphabet. Does that make sense

Alan

If I open the story in my browser (Safari) and go to Develop>Page Source then the  is visible in the code. That means the server is adding that as it's not visible in DW. Not sure what that means though.

Also if you notice, on the first line of the quoted text (Geena: &quot;Did I surprise you this morning?&quot;<br />) there is no Â.

Votes

Translate

Report

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
Community Expert ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

Which doc type & character set does your DW document contain?

This would be preferred.

<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8">

Edit > Preferences:

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

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
Contributor ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

Right now under Page Properties it's:

XHTML1.0 Transitional

Unicode (UTF-8)

Include Unicode Signature box is unchecked.

I have this code:

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

</head>

One thing I noticed is I get the  wherever there is an extra space between sentences. But I also get them where there is no extra space and the only way to get rid of them is to delete the space and the add it back. That doesn't happen all the time, it seems to be random but it's a RPITA to go in and search for them.

Alan

Votes

Translate

Report

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
Community Expert ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

Where did the text come from?

Is it being imported from another program/file type?

Votes

Translate

Report

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
Community Expert ,
Sep 29, 2017 Sep 29, 2017

Copy link to clipboard

Copied

I'll bet it's coming from MS Word or similar.

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

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
Contributor ,
Sep 30, 2017 Sep 30, 2017

Copy link to clipboard

Copied

What text? The  is added for some reason because the server doesn't parlay UTF-8 correctly. I use Pages (Mac)  to create the story, copy and paste into TextEdit then copy and paste into DW so no formatting carries over.

Alan

Votes

Translate

Report

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
Community Expert ,
Sep 30, 2017 Sep 30, 2017

Copy link to clipboard

Copied

LATEST

You could simply copy from your word processing app into DW with Edit > Paste Special.

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Report

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