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

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110678
interpreted = N
texte = This is a multi-part message in MIME format. --------------010301060408070807090400 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit It can also be done with NotePad++ on windows ;-) > Tom Duke > 11 septembre 2013 18:47 > Francisco, > > If you have BBedit then the best option would be to open the dbs using > the correct charset. Use 'Reopen Using Encoding' in the file menu if > required. > > Then change the charset using the menu at the bottom of the page > (third in from left). Save the file and you're done. > > You could also use the free TextWrangler program to do this (on a mac). > > - Tom > > --------------------------------------------------------- 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 > 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 --------------010301060408070807090400 Content-Type: multipart/related; boundary="------------040305020104040404070000" --------------040305020104040404070000 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit It can also be done with NotePad++ on windows ;-)


11 septembre 2013 18:47
Francisco,

If you have BBedit then the best option would be to open the dbs using the correct charset.  Use 'Reopen Using Encoding' in the file menu if required.

Then change the charset using the menu at the bottom of the page (third in from left). Save the file and you're done.

You could also use the free TextWrangler program to do this (on a mac).

- Tom

--------------------------------------------------------- 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
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
--------------040305020104040404070000 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="postbox-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="postbox-contact.jpg" /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgK CgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkL EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAAR CAAZABkDAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWG h4iJipKTlJWWl5iZmqKj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aXEluZ4pBhoGVGCtHjHDAngc0n724RvGXNEp3XibV9Qis7bU9Qee Gxk3x+ZyR0zk9T071zUsJSw83UpRs2e9mXE2aZvhKWDxtVzhTd1fftq+tulyj/wrD4m/9E58 T/8AgouP/iK6T58739sz/k5/4g/9hJP/AERHQCPFv4aBnU/Cv/kp/hD/ALD2n/8ApQlAmfuz QSf/2Q== --------------040305020104040404070000 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= --------------040305020104040404070000-- --------------010301060408070807090400-- 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. --------------010301060408070807090400 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit It can also be done with NotePad++ on windows ;-) > Tom Duke > 11 septembre 2013 18:47 > Francisco, > > If you have BBedit then the best option would be to open the dbs using > the correct charset. Use 'Reopen Using Encoding' in the file menu if > required. > > Then change the charset using the menu at the bottom of the page > (third in from left). Save the file and you're done. > > You could also use the free TextWrangler program to do this (on a mac). > > - Tom > > --------------------------------------------------------- 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 > 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 --------------010301060408070807090400 Content-Type: multipart/related; boundary="------------040305020104040404070000" --------------040305020104040404070000 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit It can also be done with NotePad++ on windows ;-)


11 septembre 2013 18:47
Francisco,

If you have BBedit then the best option would be to open the dbs using the correct charset.  Use 'Reopen Using Encoding' in the file menu if required.

Then change the charset using the menu at the bottom of the page (third in from left). Save the file and you're done.

You could also use the free TextWrangler program to do this (on a mac).

- Tom

--------------------------------------------------------- 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
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
--------------040305020104040404070000 Content-Type: image/jpeg; x-apple-mail-type=stationery; name="postbox-contact.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Disposition: inline; filename="postbox-contact.jpg" /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgICAgMCAgIDAwMDBAYEBAQEBAgGBgUGCQgK CgkICQkKDA8MCgsOCwkJDRENDg8QEBEQCgwSExIQEw8QEBD/2wBDAQMDAwQDBAgEBAgQCwkL EBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBD/wAAR CAAZABkDAREAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkK FhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWG h4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl 5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREA AgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYk NOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOE hYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk 5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD401rxF4y8beLEl+yJr+ua1HbTyM+lw3d1 dXEkCM5y0bMSWJwOgGAAAABUISqPlirjqVIUo803ZD/F/hf4neAHjj8a+AU0VpUEiC88P2se VPQ8xdK6amBr06ftWrx7pppettjkpZjhatX2MZWl2d036X3+RQ8P6xq8etaPcS6fZW8M17EI 54tLt4W4dcmORIwysMjDKQQcEEGuGNSMpOKeqPYq4LEUaMK9SDUJXs2nZ27PrY6b/hsf9pj/ AKK7q/8A3xD/APEVRxnoP7I2q+MLDxFrF18LPCket+N5NIs7aykuoGNtp0DrFG1w8mMLgnGC QTjAzyB10qqjScEtW/w7HHWw8p141G/dS0Xm+p9s+Lfgzpnj34e3Gja1qkPie90PTbq7utWk 1BpZzqp5nieL7kUQKEBOgAACgjNeZi8djcNCpSw75YSVm/629T6zhvL8lr4zD4rHx9pVhNNR a923fzfk9D5I+LPhn4W2nxX0/SLPUrZPCVrbCeCSO+DJHeh22Is2MNujCMVHRmI/hxXy1Wcs L72X+9NtX66X/q5+j8bYjOMZllGOa0+WlGXu3hyO/Lt6J3St0SZ8Z+bH6f8Aj3/16+s1PxrQ 9J+HnxO+IXwZ8SHWvCGqXGkanHb/AGC9t5osrIqgK8M0TdcMvQgFSOMEVunYGrmfN8QfGEuv eIPE8fiK+ttU8USyvqdzaXEluZ4pBhoGVGCtHjHDAngc0n724RvGXNEp3XibV9Qis7bU9Qee Gxk3x+ZyR0zk9T071zUsJSw83UpRs2e9mXE2aZvhKWDxtVzhTd1fftq+tulyj/wrD4m/9E58 T/8AgouP/iK6T58739sz/k5/4g/9hJP/AERHQCPFv4aBnU/Cv/kp/hD/ALD2n/8ApQlAmfuz QSf/2Q== --------------040305020104040404070000 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= --------------040305020104040404070000-- --------------010301060408070807090400-- 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:

RE: Signal Raised (1997) [format xs] freeze (1997) webcat page crashes MSIE 5 on mac (2000) [WebDNA] WebDNA and PHP cohabitating? (2009) Cool new site (1996) Updating checkboxes made easy !!! (1998) Semi-OT: Update forms not working remotely (2002) can WC render sites out? (1997) Autoreturn Submit? (1997) Nested tags count question (1997) WebCommerce: Folder organization ? (1997) how to construct a search for not this entire string? (2000) Cart doesn't interpret tag! (1997) Browser blocking (2002) Problems with SELECT MULTIPLE (1999) [BULK] [WebDNA] Anyone using WebDNA7 and Lion Server? (2011) Slightly OT: Regex and Date Modified/Created (2002) Formatting time output (2000) Attention SM: Trigger Bug? (2000) Flash loadVariables (2003)