I have a text file that contains $ and € currency signs. The dollar signs are shown well while the € currencies are shown as empty boxes in a javafx table. I was wondering which charset do I have to use in order to show the euro currency sign €?
You need the charset of the text-file, the $ is in basic ascii so it will show nearly always, the €-Symbol is for example in ISO-8859-15 or in UTF-8. But as I said, it depends mainly on the textfile correctly read in, Java internally uses UTF-16 and has it covered. And on output with UTF-8 you're on the safe side.