You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/11/29 16:07:10 UTC
DO NOT REPLY [Bug 46311] New: ssi variables with accents
https://issues.apache.org/bugzilla/show_bug.cgi?id=46311
Summary: ssi variables with accents
Product: Apache httpd-1.3
Version: HEAD
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Other
AssignedTo: bugs@httpd.apache.org
ReportedBy: ngb1955@gmail.com
Hi,
Perhaps someone can provide some advice on this annoying problem.
Using SSI variables, I create a variable. Sometimes this string will have a
French accent in the word.
I pass this variable to a simple PERL script. It works fine if it is in
English or any other character other than a letter containing a diacritic. I
have tried using $Agrave; etc. and nothing works.
If I manually enter the string value with a french accent into my perl script
it works fine.
This is my problem:
--define my variable on one page--
<!--#set var="link1" value="élève" -->
Send it to my perl page:
$link1 = $ENV{'link1'};
print "Content-type:text/html\n\n";
if ($link1 ne "")
{
print "$link1";
}
Any advice would be appreciated.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46311] ssi variables with accents
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46311
--- Comment #2 from NB <ng...@gmail.com> 2008-11-29 15:26:55 PST ---
I should have mentioned that the error I get is "an error occurred while
processing this directive"
While there is no character set in the Content-type header, it works fine when
I type in a word with an accent. I have tried various character sets and
nothing makes a difference when I put a value in the variable that has an
accent in it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 46311] ssi variables with accents
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46311
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Eric Covener <co...@gmail.com> 2008-11-29 15:18:15 PST ---
What happens when it doesn't work? What codepage was your editor, and why
doesn't your Content-Type header have a character set?
Consider the users list for advice, questions, or problem determination:
http://httpd.apache.org/userslist.html
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org