|
List Info
Thread: How to render german umlauts?
|
|
| How to render german umlauts? |

|
2006-08-08 19:24:19 |
Hello list,
my text_wiki instalation does not render german
umlauts correctly. For example 'ö' is rendered as
'ö'.
What can I do?
Thanks,
Cyril
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
a>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe textwiki.tigris.org
For additional commands, e-mail: users-help textwiki.tigris.org
|
|
| How to render german umlauts? |

|
2006-08-09 10:11:11 |
Hallo Cyril,
did you try to put
<?php
//Set encoding
header("Content-type: text/html;
charset=UTF-8");
?>
at the beginning of your scripts? (Header must be sent
before any
output, i.e. not even an empty line may be before the first
<?php ).
Best,
Gregor
2006/8/8, lyric680-web yahoo.de <lyric680-web yahoo.de>:
> Hello list,
>
> my text_wiki instalation does not render german
> umlauts correctly. For example 'ö' is rendered as
> 'ö'.
>
> What can I do?
>
> Thanks,
> Cyril
>
>
>
>
___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
a>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe textwiki.tigris.org
> For additional commands, e-mail: users-help textwiki.tigris.org
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe textwiki.tigris.org
For additional commands, e-mail: users-help textwiki.tigris.org
|
|
| How to render german umlauts? |

|
2006-08-11 21:37:43 |
Hello Gregor,
I finally had been able to locate the problem (thanks
to Open Source . It
occurs in the file Xhtml.php in
the method 'textencode' which is called during the
render process:
$text = htmlentities($text,$quotes,$charset);
,where $charset is set in $conf-array as 'ISO-8859-1'
But in my form I only accept UTF-8 encoded text.
I think it would make sense to let $conf be
configurable from outside, instead of beeing
hardcoded, maybe this is/was already planned.
Thank you very much for your help Gregor,
Cyril
Ps. Special thanks, also to the developers of this
package. They did really great work!!
--- Gregor Gramlich <gramlich eosc.de> schrieb:
> Hallo Cyril,
>
> did you try to put
>
> <?php
> //Set encoding
> header("Content-type: text/html;
charset=UTF-8");
> ?>
>
> at the beginning of your scripts? (Header must be
> sent before any
> output, i.e. not even an empty line may be before
> the first <?php ).
>
> Best,
> Gregor
>
> 2006/8/8, lyric680-web yahoo.de
> <lyric680-web yahoo.de>:
> > Hello list,
> >
> > my text_wiki instalation does not render german
> > umlauts correctly. For example 'ö' is rendered
as
> > 'ö'.
> >
> > What can I do?
> >
> > Thanks,
> > Cyril
> >
> >
> >
> >
>
___________________________________________________________
> > Telefonate ohne weitere Kosten vom PC zum PC:
> http://messenger.yahoo.de
a>
> >
> >
>
------------------------------------------------------------
---------
> > To unsubscribe, e-mail:
> users-unsubscribe textwiki.tigris.org
> > For additional commands, e-mail:
> users-help textwiki.tigris.org
> >
> >
>
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
a>
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe textwiki.tigris.org
For additional commands, e-mail: users-help textwiki.tigris.org
|
|
| How to render german umlauts? |

|
2006-08-11 21:53:04 |
Hi,
I think it is configurable, I'm using this construction in
all cases:
$wiki = new Text_Wiki();
$wiki->setFormatConf('Xhtml',
array('translate'=>HTML_SPECIALCHARS,
'charset'=>'UTF-8'));
just to be sure, are we both talking about the same thing?
On 8/11/06, lyric680-web yahoo.de
<lyric680-web yahoo.de> wrote:
> Hello Gregor,
>
> I finally had been able to locate the problem (thanks
> to Open Source . It
occurs in the file Xhtml.php in
> the method 'textencode' which is called during the
> render process:
>
> $text = htmlentities($text,$quotes,$charset);
>
> ,where $charset is set in $conf-array as 'ISO-8859-1'
>
> But in my form I only accept UTF-8 encoded text.
>
> I think it would make sense to let $conf be
> configurable from outside, instead of beeing
> hardcoded, maybe this is/was already planned.
>
> Thank you very much for your help Gregor,
> Cyril
>
>
> Ps. Special thanks, also to the developers of this
> package. They did really great work!!
>
>
>
>
>
> --- Gregor Gramlich <gramlich eosc.de> schrieb:
>
> > Hallo Cyril,
> >
> > did you try to put
> >
> > <?php
> > //Set encoding
> > header("Content-type: text/html;
charset=UTF-8");
> > ?>
> >
> > at the beginning of your scripts? (Header must be
> > sent before any
> > output, i.e. not even an empty line may be before
> > the first <?php ).
> >
> > Best,
> > Gregor
> >
> > 2006/8/8, lyric680-web yahoo.de
> > <lyric680-web yahoo.de>:
> > > Hello list,
> > >
> > > my text_wiki instalation does not render
german
> > > umlauts correctly. For example 'ö' is
rendered as
> > > 'ö'.
> > >
> > > What can I do?
> > >
> > > Thanks,
> > > Cyril
> > >
> > >
> > >
> > >
> >
>
___________________________________________________________
> > > Telefonate ohne weitere Kosten vom PC zum PC:
> > http://messenger.yahoo.de
a>
> > >
> > >
> >
>
------------------------------------------------------------
---------
> > > To unsubscribe, e-mail:
> > users-unsubscribe textwiki.tigris.org
> > > For additional commands, e-mail:
> > users-help textwiki.tigris.org
> > >
> > >
> >
>
>
>
>
>
___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
a>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: users-unsubscribe textwiki.tigris.org
> For additional commands, e-mail: users-help textwiki.tigris.org
>
>
|
|
| How to render german umlauts? |

|
2006-08-11 22:34:48 |
Hi,
ha ha, I had just written a rational for my hack.
When I got your response ;-D
Then I tried your suggestion and surprise that was
exactly what I was looking for.
Thank you very much Jakub!!
Cyril
--- Jakub Zvěřina <jakub.zverina miton.cz> schrieb:
> Hi,
>
> I think it is configurable, I'm using this
> construction in all cases:
>
> $wiki = new Text_Wiki();
> $wiki->setFormatConf('Xhtml',
> array('translate'=>HTML_SPECIALCHARS,
> 'charset'=>'UTF-8'));
>
> just to be sure, are we both talking about the same
> thing?
>
> On 8/11/06, lyric680-web yahoo.de
> <lyric680-web yahoo.de> wrote:
> > Hello Gregor,
> >
> > I finally had been able to locate the problem
> (thanks
> > to Open Source . It
occurs in the file Xhtml.php
> in
> > the method 'textencode' which is called during
the
> > render process:
> >
> > $text = htmlentities($text,$quotes,$charset);
> >
> > ,where $charset is set in $conf-array as
> 'ISO-8859-1'
> >
> > But in my form I only accept UTF-8 encoded text.
> >
> > I think it would make sense to let $conf be
> > configurable from outside, instead of beeing
> > hardcoded, maybe this is/was already planned.
> >
> > Thank you very much for your help Gregor,
> > Cyril
> >
> >
> > Ps. Special thanks, also to the developers of this
> > package. They did really great work!!
> >
> >
> >
> >
> >
> > --- Gregor Gramlich <gramlich eosc.de> schrieb:
> >
> > > Hallo Cyril,
> > >
> > > did you try to put
> > >
> > > <?php
> > > //Set encoding
> > > header("Content-type: text/html;
> charset=UTF-8");
> > > ?>
> > >
> > > at the beginning of your scripts? (Header
must
> be
> > > sent before any
> > > output, i.e. not even an empty line may be
> before
> > > the first <?php ).
> > >
> > > Best,
> > > Gregor
> > >
> > > 2006/8/8, lyric680-web yahoo.de
> > > <lyric680-web yahoo.de>:
> > > > Hello list,
> > > >
> > > > my text_wiki instalation does not render
> german
> > > > umlauts correctly. For example 'ö' is
rendered
> as
> > > > 'ö'.
> > > >
> > > > What can I do?
> > > >
> > > > Thanks,
> > > > Cyril
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
___________________________________________________________
> > > > Telefonate ohne weitere Kosten vom PC
zum PC:
> > > http://messenger.yahoo.de
a>
> > > >
> > > >
> > >
> >
>
------------------------------------------------------------
---------
> > > > To unsubscribe, e-mail:
> > > users-unsubscribe textwiki.tigris.org
> > > > For additional commands, e-mail:
> > > users-help textwiki.tigris.org
> > > >
> > > >
> > >
> >
> >
> >
> >
> >
>
___________________________________________________________
> > Telefonate ohne weitere Kosten vom PC zum PC:
> http://messenger.yahoo.de
a>
> >
> >
>
------------------------------------------------------------
---------
> > To unsubscribe, e-mail:
> users-unsubscribe textwiki.tigris.org
> > For additional commands, e-mail:
> users-help textwiki.tigris.org
> >
> >
>
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen
Yahoo! Mail: http://mail.yahoo.de
------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribe textwiki.tigris.org
For additional commands, e-mail: users-help textwiki.tigris.org
|
|
[1-5]
|
|