Lachlan Hunt wrote:
Use
Or, if you insist on XHTML, you *must* declare the xmlns and should use
xml:lang as well.
http://www.w3.org/1999/xhtml"; xml:lang="zh" lang="zh">
Such a language code would be ambiguous and could have unintended
rendering consequences in differnet browsers.
F
Adrian O'Hagan wrote:
I am using Dreamweaver for this - and you may well be right that it is an
editor issue.
In Dreamweaver, set the default file encoding to UTF-8 and use Unicode
for all files. Avoid using any legacy encodings.
Edit > Preferences... (or Dreamweaver > Preferences... on Mac
Thanks everyone,
Issue resolved! Twas the evils of Dreamweaver - if I edit in SimpleText all
is fine...
Thanks again for your valuable help.
Adrian.
> Hi Ray,
>
> The include file has no defined charset, but should receive the same charset
> as the page it is being brought into. From Micky'
Hi Ray,
The include file has no defined charset, but should receive the same charset
as the page it is being brought into. From Micky's post it may be more of
an editor issue, which sits well with my current experience.
Thanks,
Adrian
> Is your include file written in the correct charset?
>
>
Hi Micky,
I am using Dreamweaver for this - and you may well be right that it is an
editor issue. When I reopen the file in my editor, it all goes pearshaped.
I will investigate the editor settings, or edit directly in simpletext...
Thanks,
Adrian
> Hi Adrian,
>
>> when I save the include, all
Hi Adrian,
> when I save the include, all Chinese characters are rendered as a series of
> question marks.
Could it be just a problem with your editor? Are you saving the file
with the right encoding? What happens when you reopen the files on
your editor?
> I do not place any header in my inclu
Thanks Lachlan (and Fernguly for the off-list response!),
You've given me plenty to work with - I'll see how it goes.
Cheers,
Adrian
> Adrian O'Hagan wrote:
>> I am embarking on my first multi-lingual site (English, Simplified Chinese
>> and Traditional Chinese).
>>
>> It is to be a static sit
Is your include file written in the correct charset?
At 10:50 AM 21/03/2006, Adrian O'Hagan wrote:
Hello list,
I am embarking on my first multi-lingual site (English, Simplified
Chinese and Traditional Chinese).
It is to be a static site (no databases) and I have used PHP to take
advantage
Adrian O'Hagan wrote:
I am embarking on my first multi-lingual site (English, Simplified Chinese
and Traditional Chinese).
It is to be a static site (no databases) and I have used PHP to take
advantage of the server-side includes.
Although there's nothing wrong with using PHP, you don't need t
Title: [WSG] Chinese translations and PHP includes
Hello list,
I am embarking on my first multi-lingual site (English, Simplified Chinese and Traditional Chinese).
It is to be a static site (no databases) and I have used PHP to take advantage of the server-side includes.
The doctype for my
10 matches
Mail list logo