On 7/2/02 10:41 PM, "Warner Onstine" <[EMAIL PROTECTED]> wrote:

> Is this true that Velocity can't handle East Asian languages?

No.  That's not true, unless a bug has appeared.  We do several encoding
tests in the test-bed, and it includes two different encodings, "GBK" and
"UTF-8".  GBK is two byte, IIRC.

I don't know how Turbine allows you to specify the encoding of the template
somewhere, but it does work for two-byte encodings.

Geir

> 
> Sorry if this e-mail is badly formatted I can't get Outlook to switch it to
> text-only.
> 
> -warner
> 
> ----- Original Message -----
> From: [EMAIL PROTECTED]
> To: Turbine Users List ; Warner Onstine
> Sent: Sunday, June 30, 2002 7:08 PM
> Subject: Re: For Dummies Guide
> 
> 
> The problems is Velocity does not suport well east asian languages aka two
> byte languages.
> It just assumes that these languages are compatible with UTF-8 unlike JSP or
> pure servlet.
> These lanuages are not compatible with UTF-8 or ISO-8859-1(except english
> area) and must
> be processed with considerations like what kind of code page the running
> environment uses and
> what kind of code page the page uses and the client uses.
> 
> ----- Original Message -----
> From: Warner Onstine
> To: Turbine Users List
> Sent: Sun, 30 Jun 2002 10:10:27 -0700
> Subject: Re: For Dummies Guide
> 
> Not to sound harsh, but have you looked at this:
> http://jakarta.apache.org/turbine/turbine-2/fsd.html
> 
> I think it explains them pretty well, but I'll break it down simply.
> Page - it contains and coordinates the templates, screens and actions, so
> you don't need to worry about it, just understand it
> Screen - your content
> Layouts - how your page will look, plus your content
> Navigation - common navigation for your webapp
> Action - what you want to happen before a page gets called
> 
> All of these rely on a common naming scheme (ie - if there is a screen with
> the name admin, then Turbine will look for corresponding Admin.java for
> actions or Admin.vm for layouts)
> 
> In addition you can go with a Pull Model instead of Actions:
> http://jakarta.apache.org/turbine/turbine-2/pullmodel.html
> http://jakarta.apache.org/turbine/turbine-2/howto/pullmodel-howto.html
> 
> This goes into greater detail on setting up Velocity:
> http://jakarta.apache.org/turbine/turbine-2/howto/velocity-site-howto.html
> http://jakarta.apache.org/turbine/turbine-2/howto/context-howto.html
> 
> Believe me, once you get into it, it'll be hard using other systems =). I've
> done Struts/JSP programming and I much rather enjoy Turbine/Velocity
> programming. There are some features that I like about Struts, and I hope I
> will be able to help bringing in some of those as I get time ;-).
> 
> I hope this helps.
> 
> -warner
> 
> ----- Original Message -----
> From: "Gray, Cameron C. [UltraSpeed]"
> To: "'Turbine Users List'"
> Sent: Sunday, June 30, 2002 9:44 AM
> Subject: RE: For Dummies Guide
> 
> 
>> Sorry to add to the volume,
>> 
>> I guess the underlying problem is I don't understand the relationship
>> between actions, templates, screens and "page views" correctly.
>> 
>> I have a good grasp of the Struts ideology, but not turbine.
>> 
>> Any pointers?
>> 
>> -----Original Message-----
>> From: Warner Onstine [mailto:[EMAIL PROTECTED]]
>> Sent: 30 June 2002 17:24
>> To: Turbine Users List
>> Subject: Re: For Dummies Guide
>> 
>> 
>> Have you checked out the TDK and the sample app, it is very explanatory.
>> 
>> -warner
>> 
>> ----- Original Message -----
>> From: "Gray, Cameron C. [UltraSpeed]"
>> To:
>> Sent: Sunday, June 30, 2002 7:34 AM
>> Subject: For Dummies Guide
>> 
>> 
>>> All,
>>> 
>>> I'm struggling with developing my first application with turbine. I
>>> understand the torque portions, I think ;).
>>> 
>>> I need some form of for-dummies guide to building a new application /
>>> application structure. Could someone PLEEEEASSSEEE help....
>>> 
>>> 
>>> Cameron
>>> 
>>> 
>>> --
>>> To unsubscribe, e-mail:
>> 
>>> For additional commands, e-mail:
>> 
>>> 
>>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:
>> 
>> For additional commands, e-mail:
>> 
>> 
>> 
>> 
>> 
>> --
>> To unsubscribe, e-mail:
> 
>> For additional commands, e-mail:
> 
>> 
>> 
> 
> 
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 

-- 
Geir Magnusson Jr. 
Research & Development, Adeptra Inc.
[EMAIL PROTECTED]
+1-203-247-1713



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to