Printing Unicode or Supplementary Character in Java -


i trying print reverse bullet unicode character txt file. keep looking information , nothing works. prints question mark character file. error going attach way have seen symbol produced in java. sure can written text file , have heard stuff maybe needs converted? if knows how reverse bullet print out text file appreciate it! here picture of code , error gave me...

enter image description here

thank knows answer in advance. have been searching around online day , cannot find anything.

to store string bytes in file, java has encode string.

by default, java uses system encoding, on windows useless windows-1252 or so.

use new printwriter("tab.txt", "utf-8").


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -