HTML coded Latin 1 characters are replaced by the latin 1 chaaracter

79 views
Skip to first unread message

Rick Tonsing

unread,
Jul 5, 2013, 12:08:12 PM7/5/13
to blueg...@googlegroups.com
For example the following string

áéíóúäëïöü£

is replaced with

áéíóúääëïöü£

When I reload the html document in my browser after editing and saving with BlueGriffon the Latin 1 characters are gibberish.

It not only occurs with Latin 1 characters.  Characters such as $#9492; and $#9494; are also replaced.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

The document is rendered as gibberish in FireFox, Chrome, and IExplore.


Greg Chapman

unread,
Jul 5, 2013, 4:40:07 PM7/5/13
to blueg...@googlegroups.com
Hi Rick,

On 05 Jul 13 17:08 Rick Tonsing <okr...@gmail.com> said:
> For example the following string
>
>
>
> &aacute;&eacute;&iacute;&oacute;&uacute;&auml;&euml;&iuml;&ouml;&uuml;&pound;
>
> is replaced with
>
> áéíóúääëïöü£
>
> When I reload the html document in my browser after editing and
> saving with
> BlueGriffon the Latin 1 characters are gibberish.
>
> It not only occurs with Latin 1 characters. Characters such as
> $#9492; and
> $#9494; are also replaced.
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

It's not the DOCTYPE you should be looking at but the Language and
Character Set lines you should check, also the Preference settings.

Run the "New Wizard" under the File menu and pick the appropriate
Language and Character Set on the second screen. Whatever you pick
there will become the default for future "New" documents.

Also check:

Tools > Preferences > Source > Serialization

and pick an appropriate option of entities.

Greg Chapman
http://www.gregtutor.plus.com
Helping new users of KompoZer and The GIMP
Still exploring BlueGriffon
Reply all
Reply to author
Forward
0 new messages