need ord method in ruby 1.9 and create jchar method to use easily.