Kylix, ZeosDBO and PostgreSQL
Moderators: gto, cipto_kh, EgonHugeist
Kylix, ZeosDBO and PostgreSQL
Hello
I searched, and searched but i can't find solution...
Problem no.1:
I have postgresql server on gentoo 2005.1, where every thing works.
Programing is done on separate computer with Red Hat 7.2.
There is no problem if i use only us characters, but if i use croatian character (šđčćž - these one ) i get "?" symbol instead of them. If i connect to postgresql with psql, inserting data with croatian letters works fine (those one kylix can't display correctly also!);(server, develop comp and postgresql use latin2) , so i assume that server configuration is ok!
How can i set correct encoding in ZeosDBO and/or Kylix???
Problem no.2:
When i install zeosdbo, it work (almost) fine. But when i close kylix and open it again, it writes:
"can't load package /path/to/myhome/components/zeos/packages/kylix3/bplZComponent.so bplZDbc.so cannot open shared object file: No such file or directory." When i click "yes" kylix loads but without Zeos pallete. Then i need to open bplZComponents and install it. What is the problem. Permission are ok, i checked that first!
Thanks in advance for any help!
P.S. I appologise on my bad english...
--
That's all from Amos Sam
I searched, and searched but i can't find solution...
Problem no.1:
I have postgresql server on gentoo 2005.1, where every thing works.
Programing is done on separate computer with Red Hat 7.2.
There is no problem if i use only us characters, but if i use croatian character (šđčćž - these one ) i get "?" symbol instead of them. If i connect to postgresql with psql, inserting data with croatian letters works fine (those one kylix can't display correctly also!);(server, develop comp and postgresql use latin2) , so i assume that server configuration is ok!
How can i set correct encoding in ZeosDBO and/or Kylix???
Problem no.2:
When i install zeosdbo, it work (almost) fine. But when i close kylix and open it again, it writes:
"can't load package /path/to/myhome/components/zeos/packages/kylix3/bplZComponent.so bplZDbc.so cannot open shared object file: No such file or directory." When i click "yes" kylix loads but without Zeos pallete. Then i need to open bplZComponents and install it. What is the problem. Permission are ok, i checked that first!
Thanks in advance for any help!
P.S. I appologise on my bad english...
--
That's all from Amos Sam
postgresql.conf should contain hr_HR in LC_XX part, db must run with LATIN2 encoding.I'm using same settings for years and everything is fine , even on 8.03 (WinXP, native installation) it uses Latin2 , and works like a charm.I searched, and searched but i can't find solution...
Problem no.1:
I have postgresql server on gentoo 2005.1, where every thing works.
Programing is done on separate computer with Red Hat 7.2.
There is no problem if i use only us characters, but if i use croatian character (šđčćž - these one Smile ) i get "?" symbol instead of them. If i connect to postgresql with psql, inserting data with croatian letters works fine (those one kylix can't display correctly also!);(server, develop comp and postgresql use latin2) , so i assume that server configuration is ok!
How can i set correct encoding in ZeosDBO and/or Kylix???
Open install.html and take a look at section 3. (order of components when installing ZEOS).Problem no.2:
When i install zeosdbo, it work (almost) fine. But when i close kylix and open it again, it writes:
"can't load package /path/to/myhome/components/zeos/packages/kylix3/bplZComponent.so bplZDbc.so cannot open shared object file: No such file or directory." When i click "yes" kylix loads but without Zeos pallete. Then i need to open bplZComponents and install it. What is the problem. Permission are ok, i checked that first!
client_encoding CANNOT be hr_HR or en_US or similar.
take a look here for proper encodings
http://k12linux.mesd.k12.or.us/docs/pos ... ibyte.html
my databases on linux uses sql_ascii per default, but WinXP db's uses LATIN2, because of multiplatform client apps and letter encodings (yes, I don't use unicode yet).
take a look here for proper encodings
http://k12linux.mesd.k12.or.us/docs/pos ... ibyte.html
my databases on linux uses sql_ascii per default, but WinXP db's uses LATIN2, because of multiplatform client apps and letter encodings (yes, I don't use unicode yet).
Ok, my mistake. I recheked valute and it is latin2. Sorry. I even tried to set a unicode encoding, comment uot whole line, and nothing happened. (At every change I restarted postgresql)!zeljko wrote:client_encoding CANNOT be hr_HR or en_US or similar.
take a look here for proper encodings
http://k12linux.mesd.k12.or.us/docs/pos ... ibyte.html
my databases on linux uses sql_ascii per default, but WinXP db's uses LATIN2, because of multiplatform client apps and letter encodings (yes, I don't use unicode yet).
In my opinion server and client configurations are ok, beacuse as i said, when i remotly connect to postgres with psql client, everything is ok (except lines that i inserted with Zeos&Kylix)!
Is there a way to insert data with sqlquery component with setting correct encoding?
Or maybe is problem with kylix and his unicode support? Do I have any solution if that is the problem?
I didn't tried with lazarus, becuase I don't like it. I mean, it's good but it's too unstable for me to use it!! And i don't wont to program it on windows!!
Thx
--
That's all from Amos Sam
i think i'm gona go crazy!!!
I installed delphi on winxp computer and zeos 6.1.5 stable, and it have same problem!!!
Croatian letters are not correctly inserted in database!!
Where is the problem?!? I don't have any more ideas!!
Thx
--
That's all from Amos Sam
I installed delphi on winxp computer and zeos 6.1.5 stable, and it have same problem!!!
Croatian letters are not correctly inserted in database!!
Where is the problem?!? I don't have any more ideas!!
Thx
--
That's all from Amos Sam
That's all from Amos Sam
good, better, linux!
Is someone selling a apartment on Pluton?
good, better, linux!
Is someone selling a apartment on Pluton?
It cannot be the same. I have more than 400 postgresql installations (mostly redhat based) and few debian's, and everything is correct.OK, i set LANG variable to hr_HR, but it's same!!
Maybe you should drop your db now, and make again initdb ,so it will create template0 and template1 with hr_HR.
I've never seen such problem.