[firebird-support] Re: Unicode text in Exception?

2015-01-29 Thread Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
29.01.2015 19:15, Martijn Tonies wrote: 2) Create SP with EXCEPTION ERROR 'some Cyrillic string'; Done. In the source, I see the following: begin exception test _utf8 X'31D0A2D095D0A1D0A220D09DD09020D091D0AAD09BD093D090D0A0D0A1D09AD098'; end You don't need the _utf8 prefix with HEX

[firebird-support] Re: Unicode text in Exception?

2015-01-29 Thread Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
27.01.2015 14:48, Martijn Tonies wrote: btw, in Firebird 3, the RDB$EXCEPTIONS.RDB$MESSAGE is still NONE. Would it make sense to encode the message according to the given connection character set? Do you mean changing RDB$EXCEPTIONS.RDB$MESSAGE to UTF8? It was discussed but ended nowhere.

Re: [firebird-support] Re: Unicode text in Exception?

2015-01-29 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
Hello Dmitry, btw, in Firebird 3, the RDB$EXCEPTIONS.RDB$MESSAGE is still NONE. Would it make sense to encode the message according to the given connection character set? Do you mean changing RDB$EXCEPTIONS.RDB$MESSAGE to UTF8? It was discussed but ended nowhere. No, I meant a runtime

Re: [firebird-support] Re: Unicode text in Exception?

2015-01-29 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
Hello Dmitry, I'm still puzzled. 29.01.2015 19:15, Martijn Tonies wrote: 2) Create SP with EXCEPTION ERROR 'some Cyrillic string'; Done. In the source, I see the following: begin exception test _utf8 X'31D0A2D095D0A1D0A220D09DD09020D091D0AAD09BD093D090D0A0D0A1D09AD098'; end You

Re: [firebird-support] Re: Unicode text in Exception?

2015-01-27 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
btw, in Firebird 3, the RDB$EXCEPTIONS.RDB$MESSAGE is still NONE. Would it make sense to encode the message according to the given connection character set? Now, I tried the following in the procedure to work around the above: exception test _utf8 'unicode string here'; Any idea why this

Re: [firebird-support] Re: Unicode text in Exception?

2015-01-22 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
btw, in Firebird 3, the RDB$EXCEPTIONS.RDB$MESSAGE is still NONE. Oh bugger. Now, I tried the following in the procedure to work around the above: exception test _utf8 'unicode string here'; When I look at RDB$PROCEDURES.RDB$PROCEDURE_SOURCE I can see the text is inserted as a hex

Re: [firebird-support] Re: Unicode text in Exception?

2015-01-21 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
Oh bugger. Now, I tried the following in the procedure to work around the above: exception test _utf8 'unicode string here'; When I look at RDB$PROCEDURES.RDB$PROCEDURE_SOURCE I can see the text is inserted as a hex string. But this doesn't seem to work either? Does this work at all

[firebird-support] Re: Unicode text in Exception?

2015-01-21 Thread Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
21.01.2015 20:11, Martijn Tonies wrote: Oh bugger. Now, I tried the following in the procedure to work around the above: exception test _utf8 'unicode string here'; When I look at RDB$PROCEDURES.RDB$PROCEDURE_SOURCE I can see the text is inserted as a hex string. But this doesn't seem

[firebird-support] Re: Unicode text in Exception?

2015-01-21 Thread Dmitry Yemanov dim...@users.sourceforge.net [firebird-support]
21.01.2015 19:45, 'Martijn Tonies wrote: I have an EXCEPTION object with a Unicode text in it, a stored procedure raises this exception. The client application can view the Unicode text just fine when it retrieves the Exception meta data, but when the exception is raised, Firebird doesn’t

Re: [firebird-support] Re: Unicode text in Exception?

2015-01-21 Thread 'Martijn Tonies (Upscene Productions)' m.ton...@upscene.com [firebird-support]
I have an EXCEPTION object with a Unicode text in it, a stored procedure raises this exception. The client application can view the Unicode text just fine when it retrieves the Exception meta data, but when the exception is raised, Firebird doesn’t seem to translate the text. Any idea how to