![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
![]() |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
Lo he probado creando los parámetros en tiempo de ejecución como lo expuesto anteriormente, como directo en las parámetros del componente desde el inspector de Delphi.
|
#2
|
||||
|
||||
¿Y los datos que guardas son utf8 o iso8859?
__________________
La otra guía de estilo | Búsquedas avanzadas | Etiquetas para código | Colabora mediante Paypal |
#3
|
|||
|
|||
Bueno, la verdad es que eso no lo tengo claro, estoy ejecutando una consulta de prueba desde Delphi con la sintaxis siguiente:
Básicamente actualizo un registro con ese nombre, me parecía algo normal, pero desde Delphi tengo el problema, obviamente si lo hago dentro de un editor de SQLite dentro de la propia BD me escribe correctamente los caracteres. |
#4
|
||||
|
||||
¿Qué versión de Delphi usas?
// Saludos |
#5
|
|||
|
|||
10.2 Tokyo
|
#6
|
||||
|
||||
Comprueba qué "encoding" tiene.
PRAGMA encoding; PRAGMA encoding = "UTF-8"; PRAGMA encoding = "UTF-16"; PRAGMA encoding = "UTF-16le"; PRAGMA encoding = "UTF-16be"; In first form, if the main database has already been created, then this pragma returns the text encoding used by the main database, one of "UTF-8", "UTF-16le" (little-endian UTF-16 encoding) or "UTF-16be" (big-endian UTF-16 encoding). If the main database has not already been created, then the value returned is the text encoding that will be used to create the main database, if it is created by this session. The second through fifth forms of this pragma set the encoding that the main database will be created with if it is created by this session. The string "UTF-16" is interpreted as "UTF-16 encoding using native machine byte-ordering". It is not possible to change the text encoding of a database after it has been created and any attempt to do so will be silently ignored. Once an encoding has been set for a database, it cannot be changed. Databases created by the ATTACH command always use the same encoding as the main database. An attempt to ATTACH a database with a different text encoding from the "main" database will fail.
__________________
La otra guía de estilo | Búsquedas avanzadas | Etiquetas para código | Colabora mediante Paypal |
#7
|
|||
|
|||
El pragma de la base es UTF-8
|
![]() |
|
|
![]() |
||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Lazarus: TStringList.LoadFromFile error cuando la ruta tiene eñes/acentos | euMesmo | Lazarus, FreePascal, Kylix, etc. | 12 | 07-03-2015 00:19:38 |
problema con eñes y tildes | jarto | MySQL | 1 | 28-04-2005 15:01:47 |
Acentos y eñes | llonigualker | Varios | 3 | 20-11-2004 14:25:35 |
UPPER, UpperCase con eñes, tildes ... | Tomás | Firebird e Interbase | 3 | 15-01-2004 18:24:24 |
Ordernar a acentos y eñes (tablas dbase) | Jose_Pérez | SQL | 2 | 17-11-2003 15:49:20 |
![]() |
|