Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Chinese Webpages
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Proven  
View profile  
 More options Nov 16 2009, 6:43 am
From: Proven <proven....@gmail.com>
Date: Mon, 16 Nov 2009 03:43:41 -0800 (PST)
Local: Mon, Nov 16 2009 6:43 am
Subject: [webgen-users] Chinese Webpages
Hi All,

I'm a new user, and found that if I revise the output index.html file
(use notepad to change the file code from ANSI to UTF-8), it can
display Chinese character normally.

But if I revise the /src file, ie, default template and index page
file to UTF-8 format, it can not parse the index page file.

How should I do to automatically generate Chinese web page?

Appreciate.
_______________________________________________
webgen-users mailing list
webgen-us...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Damien Pollet  
View profile  
 More options Nov 16 2009, 9:07 am
From: Damien Pollet <damien.pol...@gmail.com>
Date: Mon, 16 Nov 2009 15:07:02 +0100
Local: Mon, Nov 16 2009 9:07 am
Subject: Re: [webgen-users] Chinese Webpages
I pasted chinese characters in my src/index.page and everything went smoothly.

What code are you changing in the html file ?
If you mean the meta content-type html tag, or the xml declaration,
then this would be in your src/default.template file. Edit this one
and all pages will be generated accordingly.

Else I guess that would mean one of the filters does not like your
encoding, but we'd need more details to be sure.

Cheers

--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
_______________________________________________
webgen-users mailing list
webgen-us...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Leitner  
View profile  
 More options Nov 17 2009, 1:16 am
From: Thomas Leitner <t_leit...@gmx.at>
Date: Tue, 17 Nov 2009 07:16:51 +0100
Local: Tues, Nov 17 2009 1:16 am
Subject: Re: [webgen-users] Chinese Webpages

> But if I revise the /src file, ie, default template and index page
> file to UTF-8 format, it can not parse the index page file.

There could be a problem with the BOM (Byte-Order-Marker) that Notepad
normally inserts into a file when saving it as UTF-8. Try using
another editor that does not store the BOM. And/or run webgen with the
`-v` and `-l 0` options to get more debug output which you should post
here!

As Damien already pointed out, there should be no problem using Chinese
characters in the .template or .page files since webgen does not care
about the source encoding and Maruku, the default markup processor,
should handle non-ASCII characters as well.

Best regards,
  Thomas
_______________________________________________
webgen-users mailing list
webgen-us...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google