PDA

View Full Version : SEARCH problem with symbol


Lee Saw
08-11-2008, 06:27 PM
Hello everybody:

Heres the deal: I have to change some characters from my pages due to encoding problems. I search for á and replace it with …

Then I save the action in a *.dwr file. But when I reload this action, the search string have changed to this ဦ

How can I mantain exactly the same characters I use in the first place because every time I save this action, the first simbol changes http://dreamweaverforum.info/images/smilies/frown.gif

Thanks a lot!

Lee Saw

davidj
08-11-2008, 06:36 PM
lets see your code

need to understand how your replacing stuff

Lee Saw
08-11-2008, 06:53 PM
this is my dwr file:

<?xml version="1.0"?>
<dwquery>
<queryparams matchcase="false" ignorewhitespace="false" useregexp="false"wholeword="false"/>
<find>
<qtext qname="&aacute;&euro;&brvbar;" qraw="true"></qtext>
</find>
<replace action="replaceText" param1="&amp;hellip;" param2=""/>
</dwquery>

The problem is that when I create the file, I use &aacute;€ in the search string. but when I try to use it later, I re open the file I now looks like this €
I know its the same character but with the second version I cannot match the desired characters in my HTML

Thanks :)

davidj
08-11-2008, 07:00 PM
sorry this is a template

not sure bout this