[Gambas-user] perl unpack

Jussi Lahtinen jussi.lahtinen at ...626...
Mon Sep 19 17:14:05 CEST 2011


Do you handle "`" (grave accent) correctly?
http://en.wikipedia.org/wiki/Uuencoding#Uuencode_table

How are you trying to do this in Gambas? Any code to show?

Jussi



On Mon, Sep 19, 2011 at 14:24, Ron <ron at ...1740...> wrote:

> I'm trying to decode this with gambas, no luck, anyone has an idea?
>
> #!/usr/bin/perl
> print pack('u', "send:");
>
> %<V5N9#H`
>
> So decoding %<V5N9#H` should result in 'send:'
>
> The pack 'u' function does uuencoding  but all vb alike code doesn't
> reproduce the correct result, or struggles with the `...
>
>
> Thanks in advance!!
>
> Regards,
> Ron_2nd.
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> Learn about the latest advances in developing for the
> BlackBerry® mobile platform with sessions, labs & more.
> See new tools and technologies. Register for BlackBerry® DevCon today!
> http://p.sf.net/sfu/rim-devcon-copy1
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list