You are here: Re: Write Chinese in Wordpad « HTML « IT news, forums, messages
Re: Write Chinese in Wordpad

Posted by Luigi Donatello Asero on 09/26/05 01:04

"Jukka K. Korpela" <jkorpela@cs.tut.fi> skrev i meddelandet
news:Xns96DC57186217Djkorpelacstutfi@193.229.0.31...
> "Luigi Donatello Asero" <jaggillarfotboll@telia.com> wrote:
>
> > Did I do something wrong?
>
> Yes. You pointlessly crossposted, to begin with. Followups now trimmed.


There may be people who know Chinese in the other NG I posted to.
For this reason they can be informed on this subject.


> Moreover, you failed to provide a URL of your attempt.

Ok.
https://www.scaiecat-spa-gigi.com/cn/test.php

Given that you wrote that I should choose "zh" perhaps I should create a
directory called zh, instead.


You just have to
> believe that I know it is needed for an analysis what you tried and why it
> failed. I'm not going to give a lecture on character encoding on the Web
> (you can have a free lecture on that by reading the HTML specification,
> though it's a bit dusty, dry, and even a little misleading).
>
> > <html lang="cn">
>
> You are using an inccorrect language code: "cn" is currently unassigned,
> hence an error. The language code for Chinese is "zh" (whereas "CN" is the
> country code for China). Don't use language codes before you understand
> them. They are not needed for any basic functionality, but using _wrong_
> codes can cause problems.

To try to do one thing is the best way to learn how to do it.

> (When you understand the codes, you probably wish to use either "zh-Hans"
> or "zh-Hant" for your pages or elements in Chinese, instead of the generic
> "zh".)
>
> > <meta http-equiv="Content-Type"
> > content="text/html;charset=utf-8" />
>
> Why do you use XML syntax in a document that you declare as HTML 4.01?
> Did you actually _utilize_ the DOCTYPE by trying to validate the page?


I guess that this code was written by someone else in this thread or another
thread during the last days.
Which code would be the right one then?

> > <META NAME="REVISIT-AFTER" CONTENT="1 DAY">
>
> Pointless, if not harmful. No indexing robot is going to visit your page
> every day just because you use such a meta tag.

Fine.

> > <META NAME="DESCRIPTION" CONTENT="Lägenheten för fritidsändamål i
> > Rom">


This is temporary there.

> Rather pointless too, and potentially harmful if the page mainly contains
> Chinese. Google &Co. guess the language from the content, and initial
> content (even in meta tags) _might_ matter more than the rest. If search
> engines actually use the description in their hit lists, as they sometimes
> do, the description won't be very adequate - it looks like an
advertisement
> more than a description of a page.
>
> > The pages display also Chinese character but when I open the file they
> > change into unreadable ones.
>
> Huh? This sounds like you tried to open a document containing Chinese
> characters in a program that cannot use a font that has such characters.
> Of course, it could be any other mess as well.

I am not sure I understand what you meant here.


--
Luigi Donatello Asero
(sono italiano ma vivo in Svezia)
(я итальянец но я живу в Швеции )
(我是 意大利人 , 但是 我 住 在 瑞典)
(minä olen Italian kansalainen, mutta minä asun Ruotsissa)
https://www.scaiecat-spa-gigi.com/sv/boende-i-italien.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация