Code Monkey home page Code Monkey logo

Comments (4)

nick-potts avatar nick-potts commented on June 3, 2024 2

Potentially may have to mb_check_encoding($data, 'UTF-8'); and store it as blob if required.

from turso-laravel.

nick-potts avatar nick-potts commented on June 3, 2024 1

I had a quick crack at it, but I'm getting a weird response from libsql.

'value' => base64_encode($value),

here it should be using base64, not value as per the HNANA docs.

I don't really have time to do a full investigation (and I don't even use turso), but should help you get started.

from turso-laravel.

richan-fongdasen avatar richan-fongdasen commented on June 3, 2024 1

Hi @nick-potts, thanks for submitting the issue. This is a good catch. I've never encountered this issue since I haven't saved blob data in any of my database tables. I've confirmed that the issue is valid, and I'm working on it now.

PS: Thanks for the pointers!

from turso-laravel.

richan-fongdasen avatar richan-fongdasen commented on June 3, 2024

I'm closing this issue for now since a permanent fix isn't coming soon. I've already merged a pull request with a quick fix into the main branch (See #4).

You can follow the discussion about a permanent fix with the Turso development team here:
https://discord.com/channels/933071162680958986/1232184577179648092/1232184577179648092

from turso-laravel.

Related Issues (3)

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.