Writing arabic letters in java desn't work with runnable jar file -


i using code write string text file. string combination of english , arabic letters. when run code in eclipse works fine when extract code runnable jar file , run arabic letters replaced question mark.

writer writer = new outputstreamwriter(new fileoutputstream(filename), "utf-8");  bw = new bufferedwriter(writer);  bw.write("<meta http-equiv='content-type' content='text/html;charset=utf-8'>"); 


Comments

Popular posts from this blog

html - height not adding height to a empty div -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

python - Robot Framework location and name of keyword -