0

How to visualize ascii chars to "human readable" in kineticJS?

var figure = new Kinetic.Text({
        x: 75/2,
        y: 75/2,
        text: "♘",
        fontSize: 30,
        fontFamily: "Calibri",
        textFill: "green",
        align: "center",
        verticalAlign: "middle"
    });
user1323415
  • 85
  • 1
  • 7

1 Answers1

0

This has nothing to do with KineticJS. You are asking how to take a string containing HTML character entities and decode the entities. See Convert HTML Character Entities back to regular text using javascript for answers to that question.

Community
  • 1
  • 1
John Wiseman
  • 3,081
  • 1
  • 22
  • 31