Re: [WebDNA] isolatin-1 to utf-8 conversion

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110676
interpreted = N
texte = This is a multi-part message in MIME format. --------------040202080009010007040208 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Francisco we have (had) the same problem in french use the [ConvertChars]Any Text[/ConvertChars] you can also use it with a db in your global folder [ConvertChars db=^convert.db]Any Text[/ConvertChars] like that you creat your db for all your website. It works on 6, I haven't tested on 7 ;-) Lawrence > Francisco A. Hirsch > 11 septembre 2013 18:40 > 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=isotoutf] > [text]textoconvertir=[instring][/text] > [text]textoconvertir=[grep > search=�&replace=á][textoconvertir][/grep][/text] > [text]textoconvertir=[grep > search=�&replace=é][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--------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------040202080009010007040208 Content-Type: multipart/related; boundary="------------050402030205040804090804" --------------050402030205040804090804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Francisco

we have (had) the same problem in french
use the [ConvertChars]Any Text[/ConvertChars]
you can also use it with a db in your global folder
[ConvertChars db=^convert.db]Any Text[/ConvertChars] like that you creat your db for all your website.
It works on 6, I haven't tested on 7 ;-)

Lawrence


11 septembre 2013 18:40
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=isotoutf]
 [text]textoconvertir=[instring][/text]
[text]textoconvertir=[grep search=�&replace=á][textoconvertir][/grep][/text]
 [text]textoconvertir=[grep search=�&replace=é][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---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
--------------050402030205040804090804 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------050402030205040804090804-- --------------040202080009010007040208-- 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)
This is a multi-part message in MIME format. --------------040202080009010007040208 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi Francisco we have (had) the same problem in french use the [convertchars]Any Text[/ConvertChars] you can also use it with a db in your global folder [ConvertChars db=^convert.db]Any Text[/ConvertChars] like that you creat your db for all your website. It works on 6, I haven't tested on 7 ;-) Lawrence > Francisco A. Hirsch > 11 septembre 2013 18:40 > 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=isotoutf] > [text]textoconvertir=[instring][/text] > [text]textoconvertir=[grep > search=�&replace=á][textoconvertir][/grep][/text] > [text]textoconvertir=[grep > search=�&replace=é][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--------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --------------040202080009010007040208 Content-Type: multipart/related; boundary="------------050402030205040804090804" --------------050402030205040804090804 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Hi Francisco

we have (had) the same problem in french
use the [convertchars]Any Text[/ConvertChars]
you can also use it with a db in your global folder
[ConvertChars db=^convert.db]Any Text[/ConvertChars] like that you creat your db for all your website.
It works on 6, I haven't tested on 7 ;-)

Lawrence


11 septembre 2013 18:40
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=isotoutf]
 [text]textoconvertir=[instring][/text]
[text]textoconvertir=[grep search=�&replace=á][textoconvertir][/grep][/text]
 [text]textoconvertir=[grep search=�&replace=é][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---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
--------------050402030205040804090804 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="compose-unknown-contact.jpg" /9j/4AAQSkZJRgABAQEARwBHAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEC AQEBAQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgIC AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAAR CAAZABkDAREAAhEBAxEB/8QAGAAAAwEBAAAAAAAAAAAAAAAABgcICQr/xAA0EAABAwMCAgUK BwAAAAAAAAACAQMEBQYRABITIQcUMUF2CBUXIjI2N0JRtVRWkZOV0dL/xAAYAQEAAwEAAAAA AAAAAAAAAAADAAEEAv/EACQRAAICAAQGAwAAAAAAAAAAAAABAhEDMrHREyExM0FxgfDx/9oA DAMBAAIRAxEAPwDuEt+gW/ULet6oVC3rfqNQqFv0OfPn1GhUqfOmzZtKZlS5UqZMaNwzNwiJ VIl7eXLCaZIGwBl3TY8epPx2+jy2ZNPjvkwc9uhW8j7nCPhvOsQliYIeS7cvCpp8o50qwrC4 v3lsNSDbdmTEhvs2tahxpfV3WnmbbozJEw/gwdadbYExVRXKEKoSdvJcaOSqxE7/AAiX0gXx +a69/JSf9alIlste0VzaNpeFrcT9KKymotyiaZ0KRCnzacoE7Kjzn4gi2KqUh3jqDHDHv4mR UfruTWlMzlVUKIVNp9GguEJnAh0+IZjyAiisgyRDnu5azS8miKqjOTVkKqS/psG37fo1Fbab eg25b8eZPeFJBBJSjMG5HjMeyihnaauZwe4OGiju13GAcpOwBeN+U8/IkGbsiS8b7ryogmbz hbyc9REROfZhERO5ETShjPtvpGqTUyLErytS4siSwx5x2tRH4hPOI0DkjZtaJtFxuVEbIUUi yeNujlBUJGbJN6nM/Cyf2Hf60YgjvKA+NPSP4gT7axpcPtr51YWJnYn9dnAQWl722p4ot37y zqnlfp6FrqbwawG8/9k= --------------050402030205040804090804-- --------------040202080009010007040208-- Lawrence Banahan

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:

Referring URL (1998) Custom formulas.db (1998) Can't Update records (1997) [WebDNA] Test - ignore (2009) One Hour Email (2002) Combining search criteria in a context? (1998) $Quit, $CloseDatabase corrections (1997) WebCatalog Develper Needs Work (2001) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Quantity discount on some items? (2000) Switching To NT (1999) Problem during evaluation of WebCatalog (1998) Separate SSL Server (1997) Webcatalog, Webstar and Crasharama (1999) AutoCommit Preference? (1998) [LOOKUP] (1997) 5.0 Pricing (2003) Back to Authnet with storebuilder (2003) [format xs] freeze (1997) Emailer problem with WC 2.1, NT, WebSite 2.1 (1998)