Encoding (?) problems while trying to make my own translation
Posted: 11 Aug 2020, 01:06
Hello!
So here's the thing, I was wondering if I could create my own translation for portuguese (Portugal's portuguese instead of brazilian portuguese which knox is working on) and started trying stuff. I'm currently using Knox's translation as a base (let me know if I shouldn't be doing that).
Anyway, here onto the technical issue:
- First I got the the Knox Translation working on my umineko on android, all good.
- Then I cloned the umineko-scripting repo, and ran the update-manager.php to create a new pt.txt and pt.file (dscript and script commands)
- Then I replaced pt.file on my phone
- This happened:
So...I'm guessing there is an encoding issue happening somewhere? I'm running the update-manager on Windows 10, I've already tried with php 5.6 and php 7, same issue (the size of pt.file changes a bit tho). Everything else is fine, voice lines and etc, I've tested and I can change the order of scenes as well so my .file is functional. I've also tried making sure pt.txt is using linux line endings and UTF-8 without bom before generating the .file but still no luck.
Any help is appreciated! Not sure if this is the best place but couldn't find any docs on this
So here's the thing, I was wondering if I could create my own translation for portuguese (Portugal's portuguese instead of brazilian portuguese which knox is working on) and started trying stuff. I'm currently using Knox's translation as a base (let me know if I shouldn't be doing that).
Anyway, here onto the technical issue:
- First I got the the Knox Translation working on my umineko on android, all good.
- Then I cloned the umineko-scripting repo, and ran the update-manager.php to create a new pt.txt and pt.file (dscript and script commands)
- Then I replaced pt.file on my phone
- This happened:
So...I'm guessing there is an encoding issue happening somewhere? I'm running the update-manager on Windows 10, I've already tried with php 5.6 and php 7, same issue (the size of pt.file changes a bit tho). Everything else is fine, voice lines and etc, I've tested and I can change the order of scenes as well so my .file is functional. I've also tried making sure pt.txt is using linux line endings and UTF-8 without bom before generating the .file but still no luck.
Any help is appreciated! Not sure if this is the best place but couldn't find any docs on this