The %## codes are representations of the character. It looks like a URL encoding scheme to me. For example: %20 is the space character. The %C3%AD looks to be the letter i with the accent. Run it though a URL Decoder and see if that doesnt get you what you are looking for?
Matt -----Original Message----- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Xavier Mor-Mur Sent: Wednesday, April 28, 2010 14:19 To: ICS support mailing Subject: [twsocket] help to convert from utf8 to ansi (locale) Hi to all I need to parse text to send via email if there are declared any file. If text is html and saved from word processors or html editors all chars out of first 127 ASCII set are convert using utf8 convention. What I need is recover original text to check if declared files exists. First I was working with BCB5 but it have reduced support for unicode strings. Now I'm using BC2009 but I'm walking around the same point. Example of I get as parameter and what I need to test : from file I get "Sin%20t%C3%ADtulo%201_html_m5b7e3440.jpg" and I need "Sin título1_html_m5b7e3440.jpg" I played with ansi, wide, unicode, utf8 variables and functions with no success. Thanks in advance for your help. -- Xavier Mor-Mur -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be