--------------040305020104040404070000Content-Type: image/jpeg; x-apple-mail-type=stationery; name="postbox-contact.jpg"Content-Transfer-Encoding: base64Content-ID:Francisco,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listIf 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.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 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
|
--------------040305020104040404070000Content-Type: image/jpeg; x-apple-mail-type=stationery; name="postbox-contact.jpg"Content-Transfer-Encoding: base64Content-ID:Francisco,---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing listIf 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.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 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
DOWNLOAD WEBDNA NOW!
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...