[WebDNA] isolatin-1 to utf-8 conversion

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110675
interpreted = N
texte = I have the following proble: I have to read data from WebDNA dbs whose data is in isolatin1 ( i'ts = mainly Spanish, so it's full of non-ascii characters.) I want to show it as UTF-8. I tried doing a function to replace the special characters. [function name=3Disotoutf] [text]textoconvertir=3D[instring][/text] [text]textoconvertir=3D[grep = search=3D=EF=BF=BD&replace=3D=C3=A1][textoconvertir][/grep][/text] [text]textoconvertir=3D[grep = search=3D=EF=BF=BD&replace=3D=C3=A9][textoconvertir][/grep][/text] etc, etc [return][textoconvertir][/return] [/function] The function does not do the replacement because I, "obviously", have = not written correctly the iso characters to convert. How can I do this? Regards to all, Francisco= Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] isolatin-1 to utf-8 conversion (Lawrence Banahan 2013)
  2. Re: [WebDNA] isolatin-1 to utf-8 conversion ("Francisco A. Hirsch" 2013)
  3. Re: [WebDNA] isolatin-1 to utf-8 conversion (Lawrence Banahan 2013)
  4. Re: [WebDNA] isolatin-1 to utf-8 conversion ("Francisco A. Hirsch" 2013)
  5. Re: [WebDNA] isolatin-1 to utf-8 conversion (Lawrence Banahan 2013)
  6. Re: [WebDNA] isolatin-1 to utf-8 conversion (Tom Duke 2013)
  7. Re: [WebDNA] isolatin-1 to utf-8 conversion (Lawrence Banahan 2013)
  8. [WebDNA] isolatin-1 to utf-8 conversion ("Francisco A. Hirsch" 2013)
I have the following proble: I have to read data from WebDNA dbs whose data is in isolatin1 ( i'ts = mainly Spanish, so it's full of non-ascii characters.) I want to show it as UTF-8. I tried doing a function to replace the special characters. [function name=3Disotoutf] [text]textoconvertir=3D[instring][/text] [text]textoconvertir=3D[grep = search=3D=EF=BF=BD&replace=3D=C3=A1][textoconvertir][/grep][/text] [text]textoconvertir=3D[grep = search=3D=EF=BF=BD&replace=3D=C3=A9][textoconvertir][/grep][/text] etc, etc [return][textoconvertir][/return] [/function] The function does not do the replacement because I, "obviously", have = not written correctly the iso characters to convert. How can I do this? Regards to all, Francisco= "Francisco A. Hirsch"

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:

Protect vs Authenicate (1997) Looping (2000) [searchString] (1997) Not really WebCat- (1997) Custom formulas.db (1998) Format of Required fields error message (1997) WCS Newbie question (1997) UPS Quick Cost Calculator (1997) shipCost not working v2.1b4 (1997) using cookies to prevent access (2000) StoreBuilder help/question... (2000) Great product and great job ! (1997) RE: Error: template (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) [WebDNA] MD5 Hash issue (2009) [WebDNA] [OT] - One Man. One Road. (2009) WebCat & Backoffice Solution? (2000) Upgrading old WebCat Database Files (1997) Separate SSL Server (1997) WebCat for mass emailings (1997)