the problem is, how to identify what´s the filesystem charset, after this everythink is easy maybe a "function" on owfs echo asdfadf > message echo asdfasdf > message_latin1 echo asdfasdf > message_cb850
or somethink that convert string on owfs sourcecode (not on bash side, but in owfs side) we can use iconv library to work with us 2011/1/26 Paul Alfille <[email protected]>: > I guess we could develope a new property that does the translation silently. > > On Wed, Jan 26, 2011 at 5:40 AM, patyrk <[email protected]> wrote: >> Dnia 2011-01-25, wto o godzinie 23:18 -0200, Roberto Spadim pisze: >>> try \xnumber >> OK, it works. I'm using bash. >> printf "\xdf" > message >> >> But this complicates my scripts. >> >> Could suggest a feature request to change the behavior that when I write >> º in a string it is mapped to the character 223 on the displayed. >> >> I think that degree has the same number in almost all HD44780 displays. >> At least 233 is in the HD44780 specs. >> >> >> It would be nice to use it like this >> >> line1=`printf '%-16s' "D $t1º $t2 º"` >> line2=`printf '%-16s' "Dz $t3º Piw $t4º"` >> >> owwrite -s 2485 $LCD2 "1,1:$line1" >> owwrite -s 2485 $LCD2 "2,1:$line2" >> >> -- >> P4trykx >> >> >> >> ------------------------------------------------------------------------------ >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> _______________________________________________ >> Owfs-developers mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/owfs-developers >> > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Owfs-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/owfs-developers > > -- Roberto Spadim Spadim Technology / SPAEmpresarial ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
