Recently I faced with problem to incorrect displaying none-latin characters on the HTML page generated by Embperl. This happened because Embperl escapes all output symbols by default. To avid it it’s needed to specify a parameter EMBPERL_OUTPUT_ESC_CHARSET = 0. For web application is works fine because Embperl check %ENV and changes its parameters according to it. But if you need to run Embperl script from command line it doesn’t work. The solution is following: add into %ENV desired parameter
$ENV{EMBPERL_OUTPUT_ESC_CHARSET} = 0;
and pass additional parameter to the Embperl::Execute – use_env
Embperl::Execute( { inputfile => my-test-file.epl,
param => [<some data>],
use_env => 1,
});
I’d like to introduce for all who use Linux Fedora this excellent set of Fedora Core 6 Tips and Tricks. I found very useful for me tips about installation of mplayer, Macromedia Flash, IEs4Linux and MS TrueType Fonts. I spent only a few minutes to setup good looking, functional work space.
There is a similar manual for Fedora Core 5.
Last Sunday Maria and I visited Agios Neofytos Monastery. This amazing place is situated near to Pafos by direction to Polis. The monastery was built in the cave and later it was painted by the finest Byzantine frescoes of the 12th and 15th centuries. We took a few photos and you can see them here. But it definitely will be better to visit this place.
Probably, the easiest way is this:
-
Go to Start –> Run and run command cmd to open command line window
-
Run this command
shutdown -s -t 1800
That’s it. Your PC will be shutdown after 30 minutes.
The same way you can reboot/shutdown Windows PC via remote desktop.