Re: [WebDNA] Foreign characters (2009)
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 102323
interpreted = N
texte = Thanks for all the hints!The solution Chris mentioned works perfectly if you search for "caf=E9", ==20because it removes the accented character and also looks for the word =20="cafe". But, as all the words in my client's database are properly =20spelled and you won't find any record with "cafe" but "caf=E9" in it, if ==20the user types it incorrectly (without the accented character), which =20=happens a lot, it won't return any records.If I try to make Chris's solution to work backwards, it will look for =20=c=E1f=E9 or m=E1m=E1 or s=F3l=FAc=ED=F3n (it will put an accent in every =vowel) and =20there's no way I can tell the engine where the accented character =20should go, so I'm stuck again.I wish future versions of WebDNA could work the same way Google =20handles this kind of issue (search for the word regardless of accented =20=characters). Is there any chance?Regards,---------------------------------------------------Cristi=E1n Tapia SmithLemon Internet S.A.ctapia@lemongroup.clhttp://www.lemongroup.clAntonia L=F3pez de Bello 172, Of. 801Fono: +562-7377682Santiago, Chile.
Associated Messages, from the most recent to the oldest:
Thanks for all the hints!The solution Chris mentioned works perfectly if you search for "caf=E9", ==20because it removes the accented character and also looks for the word =20="cafe". But, as all the words in my client's database are properly =20spelled and you won't find any record with "cafe" but "caf=E9" in it, if ==20the user types it incorrectly (without the accented character), which =20=happens a lot, it won't return any records.If I try to make Chris's solution to work backwards, it will look for =20=c=E1f=E9 or m=E1m=E1 or s=F3l=FAc=ED=F3n (it will put an accent in every =vowel) and =20there's no way I can tell the engine where the accented character =20should go, so I'm stuck again.I wish future versions of WebDNA could work the same way Google =20handles this kind of issue (search for the word regardless of accented =20=characters). Is there any chance?Regards,---------------------------------------------------Cristi=E1n Tapia SmithLemon Internet S.A.ctapia@lemongroup.clhttp://www.lemongroup.clAntonia L=F3pez de Bello 172, Of. 801Fono: +562-7377682Santiago, Chile.
=?ISO-8859-1?Q?Cristi=E1n_Tapia?=
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Summing fields (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
[shownext max=?] armed (1997)
Help!!!! Purchases not going through! (1997)
Re1000001: Setting up shop (1997)
Another XML Questgion (2000)
Re:How to Display text in empty fields (1997)
webcat feature request (1997)
Problems with [Applescript] (1997)
Mail Server Needed. (1998)
encryption seeds xing (1998)
[REPLACE] inside [FOUNDITEMS] (1998)
# fields limited? (1997)
[searchString] (1997)
[addlineitems] as oppossed to url command=add (2000)
HTML Editors (1997)
Running _every_ page through WebCat ? (1997)
Template Encrypt Speed (1998)