Code Monkey home page Code Monkey logo

Comments (6)

defisym avatar defisym commented on June 30, 2024 1

image

Thanks, I can confirm it can pass the build without any modifications.

from sdl-mixer-x.

Wohlstand avatar Wohlstand commented on June 30, 2024

Huh, good catch. I'll fix that. Anyway, origian charset of these files was Shift-JIS, and I was sure that I converted all of them into UTF-8, I'll fix this as fast as possible.

from sdl-mixer-x.

Wohlstand avatar Wohlstand commented on June 30, 2024

Anyway, what MSVC version you do have? On my end, it builds with many different versions of MSVC normally 🤔

from sdl-mixer-x.

Wohlstand avatar Wohlstand commented on June 30, 2024

I guess, the fix would be an adding of the kind of /utf8 flag to the compiler (at CMake setup) to eliminate this issue. I'll try some on my end, and I'll let you know when I'll implement this.

from sdl-mixer-x.

defisym avatar defisym commented on June 30, 2024

Thanks for the quick reply!

I was sure that I converted all of them into UTF-8

Yes, I can confirm this, but msvc still not build it until I resave both file to UTF-8 BOM, which is the default format when save as unicode in visual studio.

what MSVC version you do have?

2022 community, latest update, 17.5.X IIRC.

On my end, it builds with many different versions of MSVC normally

Then it must by the language difference: some character has no issue in your language but will affect the build on my side.

I guess, the fix would be an adding of the kind of /utf8 flag to the compiler

I'm not familiar with cmake, if this flag can force compiler to work in unicode mode instead of auto detect file encoding format, then it should work.

from sdl-mixer-x.

Wohlstand avatar Wohlstand commented on June 30, 2024

Recently I sent a fix to CMake build, so it adds /utf-8 argument and it should work just fine. Please verify the thing. Project needs to be re-generated after CMake side update.

from sdl-mixer-x.

Related Issues (20)

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.