i use this way it changes the writing from ???? to something like this áÊÇá so i am thinking could i use something other than Cp1256 and utf-8 ???
Nope, unfortunately it doesn't work that way.
or the problem could be in the jdk and jre i use ???
Don't think so. But for the sake of completeness, can you post the Java version and which Windows OS / Office version you are using?
Also, reply to the questions I posed in my previous post and try out the properties thing I mentioned.