Skip to content

sqlite3_bind_text function does not support utf8 #3

Open

Description

@EfraSalazar

sqlite3_bind_text function does not support utf8
What is the solution? Utf8 does not respect me, when it is assumed that sqlite3_bind_text function already has utf8 by default.

funcion sqlite3_bind_text no soporta utf8
image

Here is how you write it to the database.
image

Activity

  1. interkosmos commented on Jul 6, 2023

    @interkosmos
    Owner

    The interface to the SQLite function sqlite3_bind_text() expects 8-bit character strings (i.e., ASCII only). Additionally, sqlite3_bind_text16() (UTF-16) and sqlite3_bind_text64() (UTF-8) are provided, but the necessary interfaces are not included in the Fortran library yet. While modern Fortran in principle offers a UCS-2/UTF-16 character type (as in ISO 10646), not all Fortran compilers support it. Furthermore, I’m not sure if UCS-2 is C interoperable. I’ll think about a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions