Am 12.09.2007 um 06:50 schrieb Yuan HOng:
> On 9/12/07, Christopher Lenz <[EMAIL PROTECTED]> wrote:
>> Am 11.09.2007 um 19:34 schrieb Christoph Zwerschke:
>>> Hi Yuan,
>>>> I want to have kid output the following HTML code:
>>>>
>>>> <span>&copy; 2007 ... </span>
>>>>
>>>> If I write this directly in the template file, the entity &copy;  
>>>> will
>>>> be translated to \xa9 in the output.
>>>
>>> Usually, this is what you want as output; it's completly  
>>> equivalent to
>>> the above.
>>
>> Agreed, and have to ask: why on earth would that *not* be what you  
>> want?
>
> Unfortunately they are not completely equivalent :-(
>
> I have to use the encoding 'gbk' for the output, which doesn't have a
> corresponding character for \xa9.

Why do you have to use 'gbk'? Why can't you use UTF-8?

Thanks,
Chris
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to