helpGna! Administration - Support: sr #3132, Double UTF-8 encoding with SSI...

 
 
Show feedback again

sr #3132: Double UTF-8 encoding with SSI #set-var, #include, #echo

Submitted by:  Alexis Bienvenüe <jojo_boulix>
Submitted on:  Mon 10 Mar 2014 06:58:07 PM UTC  
 
Category: HomepagesPriority: 5 - Normal
Severity: 3 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenOperating System: Any / Non-Specific

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 10 Mar 2014 07:44:13 PM UTC, comment #1:

I checked and we didn't change the default charset (that is, we don't set it), so I welcome suggestions.

For reference the Apache upgrade was 2.2.9-10+lenny12 -> 2.2.22-13+deb7u1.

Beuc <beuc>
Site Administrator
Mon 10 Mar 2014 06:58:07 PM UTC, original submission:

Test following "Vous êtes ici" in http://home.gna.org/auto-qcm/apercu.fr (for example) is doubly UTF-8 encoded, and so not properly displayed.
It seems that this was not the case before march 3 web-server upgrade.
See https://gna.org/support/?3126

In apercu.fr.html:

<!--#set var="FIL" value="Aperçu » Les aperçus"-->
<!--#include virtual="head.fr"-->

In head.fr.html:

<div class="fil">Vous êtes ici : <!--#echo var="FIL"--></div> </div>

(both files are UTF-8 encoded).

Alexis Bienvenüe <jojo_boulix>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by beuc (Posted a comment)
  • -unavailable- added by jojo_boulix
  • -unavailable- added by jojo_boulix (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Mar 2014 06:59:47 PM UTCjojo_boulixCarbon-Copy-=>Added khiroto
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup