[ZendTo] Re: Antwort: Simplified Chinese

Jules Jules at Zend.To
Thu Nov 10 15:30:35 GMT 2011


Which section should it be in? I never get all the positioning right for 
this meta-stuff.

Jules.

On 10/11/2011 14:53, --[ UxBoD ]-- wrote:
> Jules, the following meta-tag should be added to header.tpl as-well:
>
> <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
>
> -- 
> Thanks, Phil
>
> ------------------------------------------------------------------------
>
>     Here's a replacement (gzipped) for /opt/zendto/lib/NSSDropoff.php.
>
>     Please try it out and let me know how you all get on.
>
>     Cheers to Phil for this!
>
>     Jules.
>
>     On 10/11/2011 12:29, --[ UxBoD ]-- wrote:
>
>         NSSDropoff.php -> HTMLSummary() all entries where
>         htmlentities() is used.
>         -- 
>         Thanks, Phil
>
>         ------------------------------------------------------------------------
>
>             That looks rather better.
>             Exactly where does it need changing?
>
>             Jules.
>
>             On 08/11/2011 11:29, --[ UxBoD ]-- wrote:
>
>                 I believe this is the correct syntax:
>
>                 $smarty->assign('note', htmlentities($this->_note,
>                 ENT_NOQUOTES, 'UTF-8'));
>                 $smarty->assign('subject',
>                 htmlentities($this->_subject, ENT_NOQUOTES, 'UTF-8'));
>
>                 The important bit is the third parameter of UTF-8.
>                 -- 
>                 Thanks, Phil
>
>                 ------------------------------------------------------------------------
>
>                     Patrick,
>
>                     in NSSDropoff.php I have changed line 972:
>
>                     /* $smarty->assign('note',
>                     htmlentities($this->_note)); */
>                     $smarty->assign('note', $this->_note);
>
>                     basically to remove the htmlentities() function
>                     and then within header.tpl added:
>
>                     <meta content="text/html; charset=utf-8"
>                     http-equiv="Content-Type">
>
>                     this has allowed the page to display Simplified
>                     Chinese and Umlauts. Please try and let me know
>                     how you get on.  Jules, any downsides to this ?
>                     -- 
>                     Thanks, Phil
>
>                     ------------------------------------------------------------------------
>
>                         I agree Patrick. I have changed the MySQL
>                         database and tables to use UTF8 but the
>                         chinese and umlauts still do not show :(
>
>                         -- 
>                         Thanks, Phil
>
>                         ------------------------------------------------------------------------
>
>                             Would be also interesting for German -->
>                             characters like äöüß ....
>
>                             Mit freundlichen Grüßen / Best regards
>
>                             Patrick Gaikowski
>                             Tel:     +49 7132 94 3568
>                             Fax:    +49 7132 94 73568
>                             E-Mail: patrick.gaikowski at kaufland.com
>                             KI 967850: IT International / IT
>                             Governance / Netzwerk Design und IT-Sicherheit
>                             Office:
>                             Lindichstrasse 11
>                             D-74189 Weinsberg
>
>
>
>                             http://www.kaufland.de
>                             http://www.spannende-it.de
>                             Wir sind die Nr. 1:
>                             Kaufland ist "Bester Lebensmittelmarkt 2011"!
>
>                             Kaufland Informationssysteme GmbH & Co. KG
>                             Postfach 12 53 - 74149 Neckarsulm
>                             Kommanditgesellschaft
>                             Sitz: Neckarsulm
>                             Registergericht: Amtsgericht Stuttgart HRA
>                             104163
>
>
>
>
>
>                                 Inactive hide details for "--[ UxBoD
>                                 ]--" ---07.11.2011 10:40:13---"--[
>                                 UxBoD ]--" <uxbod at splatnix.net>"--[
>                                 UxBoD ]--" ---07.11.2011
>                                 10:40:13---"--[ UxBoD ]--"
>                                 <uxbod at splatnix.net> 
>
>                                 *"--[ UxBoD ]--" <uxbod at splatnix.net>*
>                                 Gesendet von: zendto-bounces at zend.to
>
>                                 07.11.2011 10:39
>                                     Bitte antworten an
>                                     ZendTo Users <zendto at zend.to> 
>
>                             	
>
>                             	
>                             zendto at zend.to
>
>                             	
>
>                             Thema
>                             	
>                             [ZendTo]  Simplified Chinese
>
>                             	
>
>
>                             Would any of you know how to get
>                             simplified Chinese to display correctly in
>                             the comments field for a drop-off ?
>                             -- 
>                             Thanks, Phil
>                             _______________________________________________
>                             ZendTo mailing list
>                             ZendTo at zend.to
>                             http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>                             _______________________________________________
>                             ZendTo mailing list
>                             ZendTo at zend.to
>                             http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>                         _______________________________________________
>                         ZendTo mailing list
>                         ZendTo at zend.to
>                         http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>                     _______________________________________________
>                     ZendTo mailing list
>                     ZendTo at zend.to
>                     http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>
>                 _______________________________________________
>                 ZendTo mailing list
>                 ZendTo at zend.to
>                 http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>             Jules
>
>             -- 
>             Julian Field MEng CITP CEng
>             www.Zend.To
>
>             Follow me at twitter.com/JulesFM
>             PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>             'It's okay to live without all the answers' - Charlie Eppes, 2011
>             'All programs have a desire to be useful' - Tron, 1982
>             'That is the land of lost content,
>               I see it shining plain,
>               The happy highways where I went,
>               And cannot come again.' - A.E. Houseman
>
>
>             _______________________________________________
>             ZendTo mailing list
>             ZendTo at zend.to
>             http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>
>         _______________________________________________
>         ZendTo mailing list
>         ZendTo at zend.to
>         http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>     Jules
>
>     -- 
>     Julian Field MEng CITP CEng
>     www.Zend.To
>
>     Follow me at twitter.com/JulesFM
>     PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>     'It's okay to live without all the answers' - Charlie Eppes, 2011
>     'All programs have a desire to be useful' - Tron, 1982
>     'That is the land of lost content,
>       I see it shining plain,
>       The happy highways where I went,
>       And cannot come again.' - A.E. Houseman
>
>
>     _______________________________________________
>     ZendTo mailing list
>     ZendTo at zend.to
>     http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto
>
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CITP CEng
www.Zend.To

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
  I see it shining plain,
  The happy highways where I went,
  And cannot come again.' - A.E. Houseman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111110/a02fa631/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 105 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111110/a02fa631/attachment-0002.gif 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 45 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20111110/a02fa631/attachment-0003.gif 


More information about the ZendTo mailing list