1 |
Hi, |
2 |
|
3 |
any idea why Umlaute are not displayed correctly when they appear in |
4 |
text generated from the FormBuilder module? |
5 |
|
6 |
When looking at the source of the form in the web browser, it has: |
7 |
|
8 |
|
9 |
<?xml version="1.0" encoding="utf-8"?> |
10 |
<!DOCTYPE html |
11 |
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
12 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
13 |
<html xmlns="http://www.w3.org/1999/xhtml" lang="de_DE" xml:lang="de_DE"> |
14 |
|
15 |
<head> |
16 |
<title>Jobnummer erzeugen</title> |
17 |
<link href="/styles/cgiforms.css" rel="stylesheet" type="text/css" /> |
18 |
<script type="text/javascript"><!-- hide from old browsers |
19 |
[...] |
20 |
|
21 |
</script> |
22 |
</head> |
23 |
<body> |
24 |
<h3>Jobnummer erzeugen</h3> |
25 |
<noscript><span class="fb_invalid">Bitte aktivieren Sie JavaScript oder |
26 |
benutzen Sie einen neueren Webbrowser.</span></noscript> |
27 |
<p>Sie m�ssen Angaben f�r die <span |
28 |
class="fb_required">hervorgehobenen</span> Felder machen.</p> |
29 |
[...] |
30 |
|
31 |
|
32 |
So the header says the encoding is UTF-8. The message template is also |
33 |
UTF-8: |
34 |
|
35 |
sunflo cgi-bin # file |
36 |
/usr/lib/perl5/vendor_perl/5.20.1/CGI/FormBuilder/Messages/de.pm |
37 |
/usr/lib/perl5/vendor_perl/5.20.1/CGI/FormBuilder/Messages/de.pm: Perl5 |
38 |
module source, UTF-8 Unicode text |
39 |
sunflo cgi-bin # |
40 |
|
41 |
|
42 |
Text with Umlauten I put myself into the form, like field labels, are |
43 |
shown correctly. I have put '@charset "utf-8";' at the beginning of the |
44 |
style sheet, but it doesn't help. |
45 |
|
46 |
How could I fix this problem? |