Hello again. I am very confused ... I have 2 methods that do exactly the same thing. She retrieves a sentence with an accent in a file. One of the methods works well and puts the accents as it should. The other works too but unfortunately the bug focus. There is no error in the console. Here is the method that works: https://pastebin.com/FatXpkDb Here is the file for the method that works: https://pastebin.com/qf2rFfZs Here is the method that does not work: https://pastebin.com/6Ug3Fhmw Here is the file for the method that does not work: https://pastebin.com/jsMEZdBX Thank you for your help. It's been awhile since I'm on it I still do not understand where the problem comes from.