Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js$obj.getwidestring doesn't work #3

Closed
aschegolskiy opened this issue Sep 22, 2022 · 2 comments
Closed

js$obj.getwidestring doesn't work #3

aschegolskiy opened this issue Sep 22, 2022 · 2 comments

Comments

@aschegolskiy
Copy link

With win-1251 charset (database and connection) code below returns empty strings.

execute block returns (res varchar(1024))
as
declare variable jso ty$pointer;
begin
jso = js$func.parsestring('{"str1":"str_val1"}');
res = js$obj.getwidestring(jso,0); suspend;
res = js$obj.getwidestringbyname(jso,'str1'); suspend;
js$Obj.dispose(jso);
end

@mnf71
Copy link
Owner

mnf71 commented Sep 27, 2022

Uhhh! Fixed, thanks.

@mnf71 mnf71 closed this as completed Oct 5, 2022
@mnf71
Copy link
Owner

mnf71 commented Oct 5, 2022

Closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants