Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] MySQL / MariaDB e2 80 93
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Compiler [Hints] in Laz 2...
by
howardpc
[
Today
at 01:10:59 pm]
Vector graphics floodfill...
by
Seenkao
[
Today
at 12:03:31 pm]
TApplication.onException ...
by
Nicola Gorlandi
[
Today
at 11:07:29 am]
Help needed for usage of ...
by
Leledumbo
[
Today
at 09:51:24 am]
installation warning
by
trev
[
Today
at 07:58:39 am]
const variable can be mod...
by
ssawgift
[
Today
at 04:50:53 am]
Lazarus Release 2.2.2
by
440bx
[
Today
at 04:24:26 am]
Open Application with sta...
by
Thausand
[
Today
at 03:51:21 am]
Get Free space of Disk or...
by
trev
[
Today
at 02:21:53 am]
MOVED: snake biting its t...
by
trev
[
Today
at 02:15:04 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] MySQL / MariaDB e2 80 93 (Read 4734 times)
pcurtis
Hero Member
Posts: 937
[SOLVED] MySQL / MariaDB e2 80 93
«
on:
November 27, 2021, 02:30:32 pm »
I have a string that contains the utf sequence e2 80 93.
How do I put that into my DB.
i use zeos, with parameterized queries.
«
Last Edit: November 28, 2021, 07:45:03 am by pcurtis
»
Logged
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2
dseligo
Hero Member
Posts: 580
Re: MySQL / MariaDB e2 80 93
«
Reply #1 on:
November 27, 2021, 11:51:27 pm »
What exactly is the problem?
Doesn't this work for you:
ZQuery1.ParamByName('yourcolumn').AsString := YourUtfString;
I made example project with your utf sequence.
Logged
pcurtis
Hero Member
Posts: 937
Re: [SOLVED] MySQL / MariaDB e2 80 93
«
Reply #2 on:
November 28, 2021, 07:47:55 am »
@dseligo Perfect. Problem with collation. Perfect demo.
Logged
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2
dseligo
Hero Member
Posts: 580
Re: [SOLVED] MySQL / MariaDB e2 80 93
«
Reply #3 on:
November 28, 2021, 05:29:28 pm »
Np, I'm glad to help you
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Databases
»
[SOLVED] MySQL / MariaDB e2 80 93
TinyPortal
© 2005-2018