Re: Help Illustra URLEncode with German Umlaute
Posted in 1997
Hi Oliver: I see your problem is true, that it generates that error. The first idea that came up to my mind is two convert the string into their respective entities: i.e eith WebUnHtml, unfortunately it generates same error. I do not know what is your the purpose of using WebUrlEncode and any additional processing, but as a suggestion if you do some processing with that var, and redisplay the values, the best idea would be to replace the ' by any allowed character i.e $(REPLACE,myvar,',X) where X is any accepted char(chose a strange one). Process the contents of the var and replace again by $(REPLACE,myvar,X,'). If this does not solve your problem, then good luck! Oliver Ortner wrote: > > Hi everybody ! > > I have a problem with URLEncode in the Illustra Web Datablade. > I can't encode a variable which includes a german "Umlaut". > For example: > <?MIVAR NAME=myvar>M'hlbach am Walde<?/MIVAR> > It works neither with the variable processing function ( > $(URLENCODE,$myvar) ) nor with the Web Datablade function ( > WebURLEncode('$myvar') ). > > Illustra says: Exception from Illustra: XZ0000:Internal error > > Has anybody an idea how this works out ?? > > Thanks for any idea to solve this problem > > Oliver > mailto:oliver.ortner@fhs-hagenberg.ac.at -- Carlos F. Enguix