1.9 encodings in trunk have very little support for now, but we significantly improved them in a branch that might get merged into trunk in a few days (maybe today). I will post an update here once it's done.
Laurent
fine thanks !
my script works very well with ruby 1.9 MacPorts version.