Code Monkey home page Code Monkey logo

Comments (4)

IohannesIohannium avatar IohannesIohannium commented on September 25, 2024

If #461 update looks like it solved it, this issue could be closed.

from frontend.

kratostatic avatar kratostatic commented on September 25, 2024

I'm not sure it did - I'm honestly getting confused but I think this is actually a frontend issue (the whole special characters in filenames not working problem.

from frontend.

Idhrendur avatar Idhrendur commented on September 25, 2024

I've been looking at this again. I need to do some more research, but it appears Windows needs UTF-16 paths when handling anything non-ASCII. The converters would need to coordinate with the frontend on exactly how we want to format configuration files. Maybe include some metadata about paths? I'm not sure. I have a test program I've been working on that I need to complete so I have a good grasp of how it all works.

from frontend.

Zemurin avatar Zemurin commented on September 25, 2024

Not a frontend issue at all. For posterity:

Frontend correctly saves information in UTF8 configuration.txt, but the converters need to read those UTF8 strings, pipe the strings through std::filesystem::u8path() and then open directories and files for reading and writing using resulting std::filesystem::paths.

Current mechanism of passing SaveGame to the converter through *argv doesn't work as accepting UTF8 (technically wstring, so utf-16) filenames requires wmain() *wargv and is rather incompatible with anything non-windows. Savegame must go through configuration.txt same as other paths.

from frontend.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.