El =11/09/2013 a las 13:45 -0300, Lawrence Banahan escribi=C3=B3:
On =09/11/2013, at 01:45 PM -0300, Lawrence Banahan wrote:Hi Francisco---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
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=3D^convert.db]Any Text[/ConvertChars] like=20=that you creat your db for all your website.
It works on 6, I haven't tested on 7 ;-)
Lawrence=I have the following=20=proble:
I have to read data from WebDNA dbs whose data is in=20isolatin1 ( 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=20special characters.
[function name=3Disotoutf]
=09[text]textoconvertir=3D[instring][/text]
=[text]textoconvertir=3D[grep=20search=3D=EF=BF=BD&replace=3D=C3=A1][textoconvertir][/grep][/text]
==09[text]textoconvertir=3D[grep=20search=3D=EF=BF=BD&replace=3D=C3=A9][textoconvertir][/grep][/text]
=etc, etc
=09[return][textoconvertir][/return]
[/function]
The function does=20not do the replacement because I, "obviously", have not written=20correctly 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=20list <talk@webdna.us>.
To =unsubscribe, E-mail to:=20<talk-leave@webdna.us>
a=rchives:=20http://mail.webdna.us/l=ist/talk@webdna.us
Bug Reporting:=20support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug Reporting: support@webdna.us
|
El =11/09/2013 a las 13:45 -0300, Lawrence Banahan escribi=C3=B3:
On =09/11/2013, at 01:45 PM -0300, Lawrence Banahan wrote:Hi Francisco---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list
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=3D^convert.db]Any Text[/ConvertChars] like=20=that you creat your db for all your website.
It works on 6, I haven't tested on 7 ;-)
Lawrence=I have the following=20=proble:
I have to read data from WebDNA dbs whose data is in=20isolatin1 ( 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=20special characters.
[function name=3Disotoutf]
=09[text]textoconvertir=3D[instring][/text]
=[text]textoconvertir=3D[grep=20search=3D=EF=BF=BD&replace=3D=C3=A1][textoconvertir][/grep][/text]
==09[text]textoconvertir=3D[grep=20search=3D=EF=BF=BD&replace=3D=C3=A9][textoconvertir][/grep][/text]
=etc, etc
=09[return][textoconvertir][/return]
[/function]
The function does=20not do the replacement because I, "obviously", have not written=20correctly 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=20list <talk@webdna.us>.
To =unsubscribe, E-mail to:=20<talk-leave@webdna.us>
a=rchives:=20http://mail.webdna.us/l=ist/talk@webdna.us
Bug Reporting:=20support@webdna.us.To unsubscribe, E-mail to: archives: http://mail.webdna.us/l=ist/talk@webdna.usBug 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...