
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
24.03.2008, 11:06
|
|||
|---|---|---|---|
|
|||
ASE 12.5.3 проблемы с кодировкой |
|||
|
#18+
Привет! На сервере стоит по дефолту cp866, все данные в cp866. Как заставить sybase выдать результат только для данного запроса(возможно выставив кодировку какой-то командой в запросе) в cp1251? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
24.03.2008, 12:48
|
|||
|---|---|---|---|
ASE 12.5.3 проблемы с кодировкой |
|||
|
#18+
умник007 пишет: > На сервере стоит по дефолту cp866, все данные в cp866. Как заставить > sybase выдать результат только для данного запроса(возможно выставив > кодировку какой-то командой в запросе) в cp1251? На сколько я знаю, возможности такой нет. Это регулируется клиентским приложением. Posted via ActualForum NNTP Server 1.4 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
24.03.2008, 13:58
|
|||
|---|---|---|---|
ASE 12.5.3 проблемы с кодировкой |
|||
|
#18+
set char_convert enables or disables character set conversion between Adaptive Server and a client. If the client is using Open Client DB-Library release 4.6 or later, and the client and server use different character sets, conversion is turned on during the login process and is set to a default based on the character set the client is using. You can also use set char_convert charset to start conversion between the server character set and a different client character set. charset can be either the character set’s ID or a name from syscharsets with a type value of less than 2000. set char_convert off turns conversion off so that characters are sent and received unchanged. set char_convert on turns conversion on if it is turned off. If character set conversion was not turned on during the login process or by the set char_convert command, set char_convert on generates an error message. If you request character set conversion with set char_convert charset, and Adaptive Server cannot perform the requested conversion, the conversion state remains the same as it was before the request. For example, if conversion is set to off prior to the set char_convert charset command, conversion remains turned off if the request fails. When the with no_error option is included, Adaptive Server does not notify an application when characters from Adaptive Server cannot be converted to the client’s character set. Error reporting is initially turned on when a client connects with Adaptive Server: if you do not want error reporting, you must turn it off for each session with set char_convert {on | charset} with no_error. To turn error reporting back on within a session, use set char_convert {on | charset} with error. Whether or not error reporting is turned on, the bytes that cannot be converted are replaced with ASCII question marks (?). ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|
24.03.2008, 14:00
|
|||
|---|---|---|---|
ASE 12.5.3 проблемы с кодировкой |
|||
|
#18+
Синтаксис: set char_convert {off | on [with {error | no_error}] | charset [with {error | no_error}]} ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=55&mobile=1&tid=2011665]: |
0ms |
get settings: |
8ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
150ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 240ms |
| total: | 468ms |

| 0 / 0 |
