Hi Peter... Thanks... It seems to be very intersting... I'll try it... Abel..
----- Original Message ---- From: peter laulund <[EMAIL PROTECTED]> To: [email protected] Sent: Monday, January 15, 2007 4:22:57 PM Subject: RE: [fme] Accent remover Hi for this you can use the tcl command 'string map' take a look at http://wiki. tcl.tk/2819 I think that the String Replacer transformer use this command in one off its forms, the other use a regualr expresion, if not you can write you own tcl function, somthing like this proc map {a} { set cLst {é e á a ....} if {[FME_AttributeExis t $a ]} { FME_SetAttribute $a [string map $sLst [ FME_GetAttribute $a ] ] } } Peter >From: "abel.ludba" <[EMAIL PROTECTED] ca> >Reply-To: [EMAIL PROTECTED] com >To: [EMAIL PROTECTED] com >Subject: [fme] Accent remover >Date: Mon, 15 Jan 2007 16:14:32 -0000 > >I'd like to remove all accents from a string and get new string accent >free. Exemple for « été » I'd like to get "ete" or enventualy "ETE". >Off course, I tried CASECHANGER but, it doesn't remove accents. For my >string : « été », I got ÉTÉ?!! Could you please help? >Thank you. > >Abel > > > ____________ _________ _________ _________ _________ _________ _ Vælg selv hvordan du vil kommunikere - skrift, tale, video eller billeder med MSN Messenger: http://messenger. msn.dk __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
