0

How could I display the character ﷺ in javafx I have tried the following, but it is showing weird characters instead.

ar_full_moon_hadith = " عَنْ جَرِيرِ بْنِ عَبْدِ اللَّهِ عَنْ النَّبِيِّ ﷺ قَالَ : صِيَامُ ثَلاثَةِ أَيَّامٍ مِنْ كُلِّ شَهْرٍ صِيَامُ الدَّهْرِ وَأَيَّامُ الْبِيضِ صَبِيحَةَ ثَلاثَ عَشْرَةَ وَأَرْبَعَ عَشْرَةَ وَخَمْسَ عَشْرَةَ ";

code below:

ar_moon_hadith_Label_L1.setVisible(true);
ar_moon_hadith_Label_L1.setText(ar_full_moon_hadith);
ar_moon_hadith_Label_L1.setId("ar_moon-notification-text1");

using the css below

#ar_moon-notification-text1{

        -fx-font-size: 22px;
        -fx-font-family: 'Lateef';
        -fx-text-alignment: right;
        -fx-text-fill:white;
}
Ossama
  • 2,401
  • 7
  • 46
  • 83

0 Answers0