Hopefully this is a basic mistake on my part. I am submitting a form using eForm, where one of the POST values contains a Ü (U with umlaut). When I display the posted value on a web page it is fine. When I try to use it in a snippet, it is mangled.
Here is a snippet I created:
$log = fopen("/tmp/gdtokenizer.log", "a");
fwrite($log, "Accessibility (snippet) = ".$_POST['accessibility']."\n");
return "<p>Accessibility = ".$_POST['accessibility']."</p>";
On the web page this appears as:
Accessibility = Öffentlich, drive-in
However in the log file this appears as an A with tilde:
Accessibility (snippet) = Ãffentlich, drive-in
Any ideas?
Andy