|
Posted by Dylan Sung on 01/15/62 11:54
"FFMG" <spambucket@myoddweb.com> wrote in message
news:1154529772.964149.179970@i3g2000cwc.googlegroups.com...
> Dylan Sung wrote:
>
> >
> > I'm not quite sure I know what you mean.
>
> What I was trying to say is that the font chosen by the poster somehow
> breaks my FF and IE.I was wondering if the break was intentional or if
> it was simply a mistake from the poster.
I'm still unsure what you mean by "break". Basically, when they used
whatever HTML editor to write the HTML, they must've used whatever font they
have locally, and generally available where they are. If these have Chinese
character names, so be it. As fonts only display a character shape which is
stylistic or pleasing to the eye, it's neither here nor there. It's like
choosing Arial over Times Roman. It just changes the display of the
character text from one font look to another. The poster's Chinese font is
what they though looked best on their local machine.
When they sent the message over your network, it is possible for the machine
to change the encoding of those Chinese characters from one format to
another. In this case, the ampersand hash form is in decimal. Much like
A is really capital A. The number you will see in the Chinese text is in
the several thousands, as this accomodates the vast number of possible
Chinese (Japanese and Korean) characters, and it is one form of unicode
encoding. More commonly, you'll have unicode encodings like utf-8 which is
what I'm sending this to the group in. UTF-8 for the common Chinese
characters are usually encoded using three characters, which look like
strings of gibberish extended ascii. However, a decimal representation is
possible, which is the one you posted originally. My webpage has a listing
which uses this method of encoding CJK characters
http://www.sungwh.freeserve.co.uk/uni/index.html
>
>
> > In China, you can be sure that they
> > also use fonts which have Chinese names. The font in question here is
> > called 华文行楷 (hua wen xing kai) which is either a kai or regular
> > character
> > font, or xing which is a running hand or kinda like hand written Chinese
> > font. The name being 'huawen' meaning "Chinese literature/writing".
>
> So what can I do to accommodate those fonts on my site?
Generally, enabling utf-8 encoding as unicode allows for text to be saved
from a variety of languages which have encodings of characters outside ascii
range.
> If a legitimate poster wants to add something using that font then what
> should I do on my side?
Nothing. It is generally up to the user to have software to enable it to be
displayable. Otherwise, you can put up a note saying that they need to
enable unicode browsers and have the appropriate fonts to view whatever is
on your site. If it is all in English, you don't really need anything,
really. If users want to input in another language, they need to enable an
"input method editor". I use WinXP, and before, Win95 and Win3.1, all have
downloads from Microsoft's site for free fonts and ime's. For Macs and linux
or unix machines, users will need to find out from the web.
> The way it stands now, (it looks like), I cannot accept any non-western
> fonts.
That depends if you want to read those non-western feedback, and whether you
can understand it is another matter.
> > If they were trying to break into your site, you would have been left
> > with
> > much more mayhem.
>
> How so?
I'm not very good on security, but from what I read, if you write scripts
(or code/programs) that execute in your site, and it isn't well written with
security in mind, it can be exploited to do bad things. I'm sure there are
more folks here who knows the ins and outs of such matters.
Cheers,
Dyl.
Navigation:
[Reply to this message]
|