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

angularjs - Redirect to a new template in angular js -

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

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -