Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 49295 invoked from network); 7 Dec 2004 22:50:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 7 Dec 2004 22:50:13 -0000 Received: (qmail 17730 invoked by uid 500); 7 Dec 2004 22:49:49 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 17708 invoked by uid 500); 7 Dec 2004 22:49:49 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 17695 invoked by uid 99); 7 Dec 2004 22:49:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mail2.kontent.de (HELO Mail2.KONTENT.De) (81.88.34.59) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Dec 2004 14:49:47 -0800 Received: from mail.michaeli-gymnasium.de (p3EE1EAF1.dip.t-dialin.net [62.225.234.241]) by Mail2.KONTENT.De (Postfix) with ESMTP id 37F32388076 for ; Tue, 7 Dec 2004 23:49:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.michaeli-gymnasium.de (Postfix) with ESMTP id 754EB366B5 for ; Tue, 7 Dec 2004 23:49:42 +0100 (CET) Received: from mail.michaeli-gymnasium.de ([192.168.2.194]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24150-03 for ; Tue, 7 Dec 2004 23:49:34 +0100 (CET) Received: from MEDIONPC (trinity.michaeli-gymnasium.de [192.168.2.194]) by mail.michaeli-gymnasium.de (Postfix) with ESMTP id 59D66366EE for ; Tue, 7 Dec 2004 23:49:34 +0100 (CET) Message-ID: <008c01c4dcaf$1c385d60$0100a8c0@MEDIONPC> From: "Ralf Glauberman" To: References: <41B63180.20603@goldfisch.at> Date: Tue, 7 Dec 2004 23:50:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at michaeli-gymnasium.de X-Virus-Checked: Checked Subject: Re: [users@httpd] fail to serve static unicode-file proper X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N try the AddDefaultCharset in the global server-config, just for a test. i once read that is only interpreted if the server doesn't send a charset-header, so it could be worth a try to leave the AddDefaultCharset out comletely and put the meta in your file. ----- Original Message ----- From: "peter pilsl" To: "apache" Sent: Tuesday, December 07, 2004 11:41 PM Subject: [users@httpd] fail to serve static unicode-file proper > > I deal a lot with unicode/utf8. Usually I generate the content dynamically > and just print out a Content-Type-line including a charset-command as > Header and everything is fine. > > Now I want to present a static utf-8 page and I fail. > > My first attempt was to add an appropriate meta-tag to the source: > > > > > > When this did not work I inspected my config and found: > > AddLanguage de .de > AddCharset UTF-8 .utf8 > > So I renamed my text.html into text.de.utf8 and .. again my browser > (Firefox 1.0) showed the page using the iso-8859-1-charset. > > So finally I tried the AddDefaultChard utf8 in the .htaccess for the > folder where my text was in, only to get an error and the error-log stated > that > /data/apache/myfolder/.htaccess: AddDefaultCharset not allowed here > > > whoops? Next step is to write a small cgi that reads the text and print an > appropriate header. But I'm sure there is a way to present static > unicode-text. > > thnx, > peter > > > > > > -- > mag. peter pilsl > goldfisch.at > IT-management > tel +43 699 1 3574035 > fax +43 699 4 3574035 > pilsl@goldfisch.at > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org