.NET Framework - Weird Character Issue

Asked By Eddie Kasper
19-Nov-09 04:12 PM
I am using a shopping cart called Product Cart which uses .asp. Each time I
open a asp page for the very first time and then save it, these weird
characters starts showing up in various places.

One example is a site that has been up for a few years and never had any
kind of weird character issue. Today, I open a asp file to edit a class name
in the html and then I saved it. Thereafter, the character issues started
appearing.

The folks at ProductCart is baffled by this and thinks it may be an issue
with Expression Web.

Is there something in Expression Web that would cause this or at least a
setting that will resolve this?

Thanks.
Expression Web
(1)
Profile1RBT
(1)
ProductCart
(1)
Validator
(1)
Symonds
(1)
Windows
(1)
Kustom
(1)
XWeb
(1)
  Ronx replied to Eddie Kasper
19-Nov-09 04:21 PM
What weird characters? and where?  A link to a page with this fault will
help to find a solution.

--
Ron Symonds
Microsoft MVP (Expression Web)
http://www.rxs-enterprises.org/fp

Reply only to group - emails will be deleted unread.
  Eddie Kasper replied to Ronx
19-Nov-09 05:41 PM
http://www.zozomusic.com/musicstore/pc/Kustom-Profile1RBT-Portable-PA-130p456.htm

It goes away after I added the UTF-8 which is fine but I wonder why the
weird character do not occur until I use Expression to save a file?

I have removed the UTF-8 so you can see the characters. Just review the
content and you will see several of them.

Thanks.
  Christoph Schneegans replied to Eddie Kasper
19-Nov-09 08:17 PM
xWeb uses UTF-8 encoding by default. What you did was to remove the
UTF-8 encoding *declaration*, while the file itself is still UTF-8
encoded. A browser now has to guess the file's encoding because no
encoding declaration is available. Some browsers might choose
Windows-1252 to decode the file, and when an UTF-8 encoded file is
decoded using Windows-1252, every occurence of the U+00A0 character
(" ") is displayed as "?? ".

Thus, you should not only restore the UTF-8 encoding declaration,
but also get rid of these U+00A0 characters in your document. You
probably mistook them for ordinary spaces because they are
indistinguishable in both Code View and Design View. Choose

--
  Eddie Kasper replied to Christoph Schneegans
19-Nov-09 09:43 PM
Thanks for the detailed answer. It makes now.

To be clear, I assume that the character encoding tag should the first line
within the <head> tag to avoid issues.

Thanks.
  Eddie Kasper replied to Christoph Schneegans
19-Nov-09 09:55 PM
Sorry for the other post, I miss a few words.  Here it is again:

Thanks for the detailed answer. It makes sense now.

To be clear, I assume that the character encoding tag should be the first
line
within the <head> tag to avoid issues.

Thanks.
  Christoph Schneegans replied to Eddie Kasper
20-Nov-09 03:51 AM
Exactly, the "meta" encoding declaration should appear as early as
possible, and the first valid location is the first element after
the opening <head> tag.

--
Create New Account
help
Tutorials .NET Framework Hello, Any suggestions on sites that have tutorials for Expression? I have used Frontpage for many years, and would like to learn Expression from the ground up. Thanks. John Expression Web Designer Discussions Expression (1) Expression Web (1) ASP.NET (1) Microsoft (1) CSS (1 WEB (1) NEW (1) PhotoGallery (1) Without a doubt this forum has the best tutorials and
TEST - please ignore .NET Framework TEST - - Murray MVP Expression Web Expression Web Designer Discussions Expression Web (1) SBR (1) Ok Ignored (-' - - _ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] _ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ You da man! - - Murray MVP Expression Web keywords: TEST, -, please, ignore description: TEST - - Murray MVP Expression Web
Expression Web Updates .NET Framework Will there be any updates coming for Expression Web? Expression Web Designer Discussions Expression Web (1) Morpheus (1) Rusynko (1) Timetable (1) Conflicts (1) SBR (1) Eventually yes - - _ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ SBR
TFS Support in Expression Web .NET Framework Is there TFS support in Expression Web? Expression Web Designer Discussions Expression Web (1) TFS (1) BrianH (1) EW (1) TinaRe (1) CM (1) Support (1) Expression (1