Hi,My node's labels and context in the json file are in french. So many accented characters.
In the netchart, they are not displayed properly, they are replaced by a white question mark on a black losange.Is there an easy way to correct this ?
You need to specify the content encoding for your HTML.
Add these lines to the top of your HTML
<!DOCTYPE html> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <html lang="en"> <head> <meta charset="utf-8" />
Please create a JSFiddle example that shows the problem.
It looks like the original characters are not in UTF8 but other encoding. Try replacing with UTF-8 encoded strings.
Works for me here in LV/RU:
http://jsfiddle.net/mw3og52z/
Thanks,Janis
Thanks Janis. Your answer helped me a lot : my json was not in UTF8. Now it it and the pb is solved.