Re: German "Umlaute" (special characters - how to replace automatically?)
| From: | Hans-Peter Oeri | Date: | Tue, 04 Sep 2001 07:09:49 +0000 |
| Subject: | Re: German "Umlaute" (special characters - how to replace automatically?) | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1427@lists.php.net to get a copy of this message | ||
Hi!
Quoting email.1@gmx.net:
> Is it possible someway automatically to replace the German
> "Umlaute" like ä, ö, ü ... (you probably do not see it right) in
> Smarty without { }?
What exactly is your question?
Special characters may be in:
a) the template... they should already be encoded in there!
b) variable contents... which are always within delimiters as the curly braces.
I DON'T think it's smarty's job to care after incorrect templates (which it is
w/ special chars). But you could, of course, install a prefilter to convert such
an incorrect template.
If instead, you're talking about variable contents, either SET these variables
correctly or define a modifier function.
> Maybe there are some German speaking who have the same
> problem.
I am german speaking but usually only have problems with others not correctly
encoding special characters or (as IE unconformingly corrects some of those! :(
) unencoded URLS.
Don't conform!
IkKampfCaspar75