Firebird 1.03 and Russian characters
-
- Сообщения: 3
- Зарегистрирован: 19 окт 2005, 01:07
Firebird 1.03 and Russian characters
Firebird 1. How to be able to enter Russian characters from Delphi programs?
Firebird is installed with default options. I have not set any language for database. I tried command DEFAULT CHARACTER SET UNICODE_FSS
but it gave error message.
so I added a field into table with definition
create table mytable (
myfield_RU VARCHAR(60) CHARACTER SET CYRL
)
I have English and Russian keyboard installed. I am able to enter Russian language text from IBExpert.
But Delphi applications and SQL Explorer only shows guestion marks (??????).
I have tried BDE, IBX, FIBPlus.
In my application I need to store only some VARCHAR and BLOB fields data in Russian, but in same table I also need to store English in other fields.
for example
Product_name_eng
Product_name_ru
Is it possible? How to do this?
thank you.
Firebird is installed with default options. I have not set any language for database. I tried command DEFAULT CHARACTER SET UNICODE_FSS
but it gave error message.
so I added a field into table with definition
create table mytable (
myfield_RU VARCHAR(60) CHARACTER SET CYRL
)
I have English and Russian keyboard installed. I am able to enter Russian language text from IBExpert.
But Delphi applications and SQL Explorer only shows guestion marks (??????).
I have tried BDE, IBX, FIBPlus.
In my application I need to store only some VARCHAR and BLOB fields data in Russian, but in same table I also need to store English in other fields.
for example
Product_name_eng
Product_name_ru
Is it possible? How to do this?
thank you.
-
- Заслуженный разработчик
- Сообщения: 644
- Зарегистрирован: 15 фев 2005, 11:34
http://www.ibase.ru/devinfo/ibrusfaq.htmIs it possible?
SQL Explorer
It is very old program. Do not use it.
-
- Сообщения: 3
- Зарегистрирован: 19 окт 2005, 01:07
thank you for reply.
I tried the methods in the article, but I still have problems.
I created database with character set WIN1251.
I also tried to creata database with character set UNICODE_FSS
and I tried a database without defining character set and defining only one field. for example:
create table mytable (
productname varchar (50),
productname_ru varchar(50) character set WIN1251
);
and I tried
productname_ru varchar(50) character set cyrl;
but in every way when I enter data in IBExpert while entering data everything is OK. After I click Post data becomes ?????????
why?
I also tried trial version of Gemini driver but from Delphi side I only see ????????
all ideas are welcome.
I tried the methods in the article, but I still have problems.
I created database with character set WIN1251.
I also tried to creata database with character set UNICODE_FSS
and I tried a database without defining character set and defining only one field. for example:
create table mytable (
productname varchar (50),
productname_ru varchar(50) character set WIN1251
);
and I tried
productname_ru varchar(50) character set cyrl;
but in every way when I enter data in IBExpert while entering data everything is OK. After I click Post data becomes ?????????
why?
I also tried trial version of Gemini driver but from Delphi side I only see ????????
all ideas are welcome.
-
- Заслуженный разработчик
- Сообщения: 644
- Зарегистрирован: 15 фев 2005, 11:34
There are no russian characters in fonts, installed in your Windows. may be... Try to install fonts from russian version of Windows.
And try this:
Start->Settings->Control Panel->Regional Settings
in first tab "regional settings" in my windows is "russian".
In my windows nt4 server eng (not russian!) I do not see same problem.
And try this:
Start->Settings->Control Panel->Regional Settings
in first tab "regional settings" in my windows is "russian".
In my windows nt4 server eng (not russian!) I do not see same problem.
Did you used character set WIN1251 as connection parameter too? Note: this parameter should be set _before_ connect, not within it's context.Delphi_coder писал(а): create table mytable (
productname varchar (50),
productname_ru varchar(50) character set WIN1251
);
but in every way when I enter data in IBExpert while entering data everything is OK. After I click Post data becomes ?????????
why?
Re: Firebird 1.03 and Russian characters
>kdv
Delphi_coder писал(а):I have English and Russian keyboard installed. I am able to enter Russian language text from IBExpert.
-
- Сообщения: 3
- Зарегистрирован: 19 окт 2005, 01:07
thank you for replies.
I have only Windows XP/2000 in English - and because of that only English fonts. Unfortunately I don't have Russian version of Windows CD
Could somebody send me the Russian language fonts?
I have only Windows XP/2000 in English - and because of that only English fonts. Unfortunately I don't have Russian version of Windows CD
Could somebody send me the Russian language fonts?
Последний раз редактировалось Delphi_coder 26 окт 2005, 14:48, всего редактировалось 2 раза.
-
- Заслуженный разработчик
- Сообщения: 644
- Зарегистрирован: 15 фев 2005, 11:34
-
- Заслуженный разработчик
- Сообщения: 644
- Зарегистрирован: 15 фев 2005, 11:34