The W3C states in their specifications that the Web should be in UTF-8
unless there’s an overriding reason to use a different character set.
Freeway’s “Automatic” setting is supposed to default to a UTF-8
character set at all times, but there are some versions where there’s
a bug and you get something else, or if I recall correctly, a mix of
encodings between the DOCTYPE and the meta: content-type tags and the
actual character encoding of the file. If you’re having difficulty
with “high-bit” characters like ©, a simple fix is usually to choose
an encoding for your page (or Master Page) manually. This wakes up
Freeway and sorts things out. The very latest version of Freeway has
this problem sorted, I believe.
Anything that you want to mark out as a snippet of code, surround it
with the “back-tick” symbol ( ) found on the US keyboard sharing a keycap with the tilde (~). The back-tick will need to "touch" your code-text on either side, but you may have more than one word inside these delimiters. For example,
this won’t be marked as code while
this will be marked as code`.
Note that this is just for short runs of text. If you want to mark off
a larger block of code, say something with more than one line of code,
and where indenting and other text formatting is important to you,
then put a short row of tildes (at least 3, I usually use 4) alone on
a single line before and after it. These characters won’t appear on
the Web, they will start and stop a pre code block.
//this is a lump of code
for(var i = 0; i < 200; i++){
console.log('Hello, world ' + i + ' times!');
}
The Web presentation of this mailing list is using Michel Fortin’s
excellent extension of John Gruber’s Markdown format – the PHP
Markdown Extra encoder.
Walter
On Feb 12, 2009, at 9:04 AM, Robert Bovasso wrote:
Is it a good idea to just keep all sites with UTF-8 encoding?
I’ve never changed the Freeway default, so it never occurred to me
to change it.
Also, how did you get the copyright code to come out correctly in
the post and not show the symbol like mine did?
Thanks.
Bob
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options