Got a new problem with german umlauts. Its the same like list time (same
server, same settings, …)
I use UTF-8 in lucee and in my files and even in apache and Application.cfc
File encoding is also set to UTF-8
If I insert a “Ö” or what ever umlaut, the string is “translated” into a “?”
(Jasper Fforde would love that!)On 2 September 2015 at 07:36, Christian <@Christian> wrote:
Hello.
Got a new problem with german umlauts. Its the same like list time (same
server, same settings, …)
I use UTF-8 in lucee and in my files and even in apache and Application.cfc
File encoding is also set to UTF-8
If I insert a “Ö” or what ever umlaut, the string is “translated” into a
“?”
Any ideas?
Regards
–
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/
To get this right, you pass “ö” in a form to the server and then you see
“?” in the dump of the form scope?
what charset your application.cfc and other templates are using only
matters for literal string that are written to the template itself, for
example if your template would look like this:
Hallöchen #form.name#
Only in this case the “template charset” matters only for “Hallöchen” but
not for “form.name”, let’s say we call that template with what matters for “form.name” is in that case the
web charset set in the admin or the application.cfc and what you have set
with the function “setEncoding”.
Please have in mind that “UTF-8” is not the “EierlegendeWollmilchsau”,
important is to use the right charset and that is maybe not UTF-8.
So what charset is used by the client to encode the form scope?
best do some tests by setting “setEncoding” for the form scope in the
application.cfc, this is the fastest way to find out what is going on.
MichaOn Wed, Sep 2, 2015 at 8:36 AM, Christian <@Christian> wrote:
Hello.
Got a new problem with german umlauts. Its the same like list time (same
server, same settings, …)
I use UTF-8 in lucee and in my files and even in apache and Application.cfc
File encoding is also set to UTF-8
If I insert a “Ö” or what ever umlaut, the string is “translated” into a
“?”
Any ideas?
Regards
–
See Lucee at CFCamp Oct 22 & 23 2015 @ Munich Airport, Germany - Get your
ticket NOW - http://www.cfcamp.org/