Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 16th, 2001, 05:26 AM
trash trash is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Posts: 9 trash User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
SSI problems

System: Apache 1.3.20 (Windows)
Page is in xhtml1.0, charset:ISO-8859-1 or in UTF-8
(same result in both charsets).

I use the following commands to insert a link on a page:
<!--#set var="titles" value="Test:åäö" -->
<!--#set var="t1" value='<a target="_blank" href="/cgi-bin/script.cgi?titles=${titles}&page=${page}">Teståäö</a>' -->
<!--#echo encoding="none" var="t1" -->

Gives this result:
<a target="_blank" href="/cgi-bin/script.cgi?titles=test:åäö&page=page">Teståäö</a>
the entity encoding (&xxxx disappears.

But I would like the following:
<a target="_blank" href="/cgi-bin/script.cgi?titles=test:åäö&page=page">Teståäö</a>
with the entity encoding still in place.

If I use #echo encoding="entity", the text isn't interpreted as html code, I just get plain text (still without entity codes).

What is happening and how can I make this work the way I want to?
Any help is appreciated.

Best regards,

Reply With Quote
  #2  
Old August 16th, 2001, 08:13 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Your value="Test:åäö" -->, I am seeing some garbage after Test:. And you need to know the encoding is done on client side, not server side. That said, you can't tell CGI to process what charset you put, unless it's done on client side. So you should look for SSI alternative.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > SSI problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway