Simple Question Regarding Letters with an Accent - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html) +--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html) +---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html) +---- Thread: Simple Question Regarding Letters with an Accent (/thread-20169.html) |
Simple Question Regarding Letters with an Accent - AGP - 02-04-2013 There's a word in one of my notes (Écuyer). The É and the c are not showing up in the note so all you get is uyer. Obviously the issue is that it's not picking up on the accent, so is there a way to allow for the file to read the letter as part of the word? RE: Simple Question Regarding Letters with an Accent - Statyk - 02-04-2013 If I'm not mistaken, I believe it has to be encoded in UTF-8. All the original .lang files are encoded that way, and checking some custom story lang files, they are not. If using Notepad++, you can see if it's encoded by looking in the bottom-right of the Notepad++ window. It should say "ANSI as UTF-8", NOT "ANSI". in the top of the window, you will see "Encoding > Convert to UTF-8 without BOM". Save again and try it. RE: Simple Question Regarding Letters with an Accent - AGP - 02-04-2013 (02-04-2013, 05:42 AM)Statyk Wrote: If I'm not mistaken, I believe it has to be encoded in UTF-8. All the original .lang files are encoded that way, and checking some custom story lang files, they are not. If using Notepad++, you can see if it's encoded by looking in the bottom-right of the Notepad++ window. It should say "ANSI as UTF-8", NOT "ANSI". Converted the file, and it changed Écuyer to xC9cuyer. Saved it and reloaded the game, but it's still uyer. EDIT: Nevermind. I just typed the word over again and it turned up. Silly me! Thank you for your help, Statyk! RE: Simple Question Regarding Letters with an Accent - Statyk - 02-04-2013 Woo! I remembered that one! |