--------------030502050509010804080708Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg"Content-Transfer-Encoding: base64Content-ID:11 septembre 2013 20:19Lawrence;I'm working on 6, and shall try [convertchars].As to the suggestion to change de databases to utf-8: unfortunately it's not an option (i'm not allowed to change the system). I could also do the easy way out: do the pages in isolatin. But I want to do this in HTML5 and CSS.Thanks for the help.Francisco---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 11 septembre 2013 18:40I 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
|
--------------030502050509010804080708Content-Type: image/jpeg; x-apple-mail-type=stationery; name="compose-unknown-contact.jpg"Content-Transfer-Encoding: base64Content-ID:11 septembre 2013 20:19Lawrence;I'm working on 6, and shall try [convertchars].As to the suggestion to change de databases to utf-8: unfortunately it's not an option (i'm not allowed to change the system). I could also do the easy way out: do the pages in isolatin. But I want to do this in HTML5 and CSS.Thanks for the help.Francisco---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list.To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.usBug Reporting: support@webdna.us 11 septembre 2013 18:40I 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...