|
|
|
Кракозябры при передаче xml сервису
|
|||
|---|---|---|---|
|
#18+
Есть java-сервис, принимающий на вход xml. XML из оракла отправляю следующим образом: Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. В итоге русские буквы в значениях тегов сервис распознает как кракозябры. Как исправить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.07.2016, 18:41:44 |
|
||
|
Кракозябры при передаче xml сервису
|
|||
|---|---|---|---|
|
#18+
Если что, NLS_CHARACTERSET = CL8MSWIN1251 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 15.07.2016, 18:42:36 |
|
||
|
Кракозябры при передаче xml сервису
|
|||
|---|---|---|---|
|
#18+
arCHi_1887 Код: plsql 1. 2. 3. 4. 5. Database PL/SQL Packages and Types Reference UTL_HTTP WRITE_TEXT Procedure This procedure writes some text data in the HTTP request body. As soon as some data is sent as the HTTP request body, the HTTP request headers section is completed. Text data is automatically converted from the database character set to the request body character set . ... When either one of the two character sets is a multibyte character set, the precise byte-length of the request body in the request body character set cannot be known beforehand. In this case, you can perform the character set conversion explicitly, determine the byte-length of the results, send the Content-Length header, and the results using the WRITE_RAW procedure to avoid the automatic character set conversion Я так понимаю, либо трусы одень, либо крестик сними... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.07.2016, 02:24:41 |
|
||
|
|

start [/forum/topic.php?fid=52&fpage=211&tid=1887877]: |
0ms |
get settings: |
7ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
58ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
46ms |
get tp. blocked users: |
2ms |
| others: | 228ms |
| total: | 376ms |

| 0 / 0 |
