Git Product home page Git Product logo

Comments (10)

mtissington avatar mtissington commented on June 2, 2024 2

does this help
code

from sqlite_modern_cpp.

zauguin avatar zauguin commented on June 2, 2024

Is the exception thrown when you create or when you use the statement? Is the statement UTF-16 encoded?

from sqlite_modern_cpp.

zauguin avatar zauguin commented on June 2, 2024

Maybe you can create a gist which shows the failing code?

from sqlite_modern_cpp.

mtissington avatar mtissington commented on June 2, 2024

It occurs when I use the statement and it's utf-16

from sqlite_modern_cpp.

zauguin avatar zauguin commented on June 2, 2024

Tip: Please share the "Share" URL and not the embed script of your gists in the future. This makes it easier to open it. Additionally you got the syntax for links backwards.

from sqlite_modern_cpp.

aminroosta avatar aminroosta commented on June 2, 2024

@mtissington I updated your comment, but the link still doesn't work :-(

from sqlite_modern_cpp.

aminroosta avatar aminroosta commented on June 2, 2024

@zauguin are you sure #92 fixes this?!

from sqlite_modern_cpp.

zauguin avatar zauguin commented on June 2, 2024

@aminroosta Yes, the problem is, that when prepare fails (this happens in this case, because a query plan can't be produced for an invalid column) the query is only appended in the UTF-8 case(the source)
In the UTF-16 case we would have to convert the statement to UTF-8, which I tried to avoid.
#92 does this conversion always, because this shouldn't change anything in the regular case but avoids a double conversion in the exceptional case.

from sqlite_modern_cpp.

zauguin avatar zauguin commented on June 2, 2024

@mtissington I updated your comment too, now your link works.

from sqlite_modern_cpp.

mtissington avatar mtissington commented on June 2, 2024

Thanks - A little new to posting gists.

from sqlite_modern_cpp.

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.