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

Problem with Unicode chars #9

Closed
saman-ghm opened this issue Oct 22, 2019 · 6 comments
Closed

Problem with Unicode chars #9

saman-ghm opened this issue Oct 22, 2019 · 6 comments

Comments

@saman-ghm
Copy link
Contributor

It seems there is a problem with unicode or white-space characters. E.g. when I'm trying to execute following query I'm facing parse error, it seems it's related to odata-v4-parser:
?$count=true&$filter=substringof(firstName,"سامان")

@andryuha49
Copy link
Owner

Hi, @saman-ghm !
Please give me information about your database and share the error which you have got.
I will debug it.

@saman-ghm
Copy link
Contributor Author

saman-ghm commented Oct 24, 2019

Hi @andryuha49,
I'm using Sql Server 2017 and the error says:

Error: Unexpected character at 31
at D:\node_projects\node_modules\odata-v4-typeorm\node_modules\odata-v4-parser\src\parser.ts:19:39

It seems it's related to odata-v4-parser and unicode chars.

@andryuha49
Copy link
Owner

Hi, @saman-ghm!
Does that PL (#10) solve the unicole issue?

@saman-ghm
Copy link
Contributor Author

Hi @andryuha49,
Yes it does :)

@andryuha49
Copy link
Owner

version 0.0.12 was published

@andryuha49
Copy link
Owner

@saman-ghm thank you!

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