Skip to content

problem with chinese #52

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

Closed
kaoyi121 opened this issue Jun 26, 2014 · 2 comments
Closed

problem with chinese #52

kaoyi121 opened this issue Jun 26, 2014 · 2 comments

Comments

@kaoyi121
Copy link

my html and js files are encoded by utf-8, and my test code is just like this:
var db = new SQL.Database();
db.run("create table test(a Integer, b varchar2);insert into test values (1, '语文');");

var stmt1 = db.prepare("select * from test;");
var stmt2 = db.prepare("select * from test where b = $keyword");
stmt.bind({$keyword: '语文'});

stmt1 can search it, but stmt2 can not, how it could be?

@lovasoa
Copy link
Member

lovasoa commented Jun 26, 2014

I'll look at this during this week-end

@lovasoa
Copy link
Member

lovasoa commented Jun 27, 2014

OK, I found where the problem is. I'll submit the 2-characters patch this evening.

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