[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: url encoding gets wrong with åöä?

Subject: AW: url encoding gets wrong with åöä?
From: Merico Raffaele <raffaele.merico@xxxxxxx>
Date: Tue, 6 Jun 2006 09:02:12 +0200
AW:  url encoding gets wrong with åöä?
Hi Niklas

I had a similary problem a few months ago and I solved it with:

javaUrlEncoder:encode(./name)

	while javaUrlEncoder: has to be declared as follows:

xmlns:javaUrlEncoder="java.net.URLEncoder"

Hope this helps
Raffaele

> -----Urspr|ngliche Nachricht-----
> Von: Niklas Holmberg [mailto:Niklas.Holmberg@xxxxxxxxx]
> Gesendet: Montag, 5. Juni 2006 15:59
> An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Betreff:  url encoding gets wrong with evd?
>
>
> hi!
>
>
> i'm trying to put out links from my xml file but the url encoding gets
> wrong with evd for some reason.
>
>
> my for each-loop contains this line:
> <a><xsl:attribute
> name="href">http://gulasidorna.eniro.se/query?what=yp&amp;search_word=<xsl
> :value-of select="word"/></xsl:attribute><xsl:value-of select="word"/></a>
>
>
> for example when i use the word "Avhdmtning". the url commes out as
> "Avh%C3%A4mtning" and the link text as "Avh&auml;mtning".
>
>
> the encoding in the url is wrong. it should be Avh%E4mtning and i can't
> understand why i get Avh%C3%A4mtning??
>
>
> all files (xml, xsl and output are UTF-8) and i use ASP to transform my
> xml.
> does anybody know how to correct this?
>
>
> thanks!
> /niklas
>
>
>
>
> Confidentiality Notice: This e-mail transmission may contain confidential
> or legally privileged information that is intended only for the individual
> or entity named in the e-mail address. If you are not the intended
> recipient, you are hereby notified that any disclosure, copying,
> distribution, or reliance upon the contents of this e-mail is strictly
> prohibited and may be unlawful. If you have received this e-mail in error,
> please notify the sender immediately by return e-mail and delete all
> copies of this message.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.