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

Support for unicode strings when passing data to javascript #5

Closed
GoogleCodeExporter opened this issue Aug 28, 2015 · 9 comments
Closed

Comments

@GoogleCodeExporter
Copy link

Currently unicode strings are not supported and passing them as an argument to 
javascript function will result in error.

What do we need to do to support them? Some conversion before we can cast them 
to <char*>?

Original issue reported on code.google.com by czarek.t...@gmail.com on 15 Jul 2012 at 11:51

@GoogleCodeExporter
Copy link
Author

Original comment by czarek.t...@gmail.com on 17 Jul 2012 at 7:34

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

Original comment by czarek.t...@gmail.com on 19 Jul 2012 at 1:38

  • Changed state: WontFix

@GoogleCodeExporter
Copy link
Author

I've come across the same issue, but found an easy fix.
string.encode("iso-8859-1")

Original comment by rich...@gmail.com on 20 Aug 2012 at 8:38

@GoogleCodeExporter
Copy link
Author

Yes, that should be enough.

We cannot do the conversion automtaically, as we don't know what type of 
encoding is required, UTF-8 should work most of the cases, but probably not all 
of the cases(?).

Original comment by czarek.t...@gmail.com on 20 Aug 2012 at 8:57

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Support for unicode added (Issue 10).

Original comment by czarek.t...@gmail.com on 29 Aug 2012 at 4:58

@GoogleCodeExporter
Copy link
Author

Original comment by czarek.t...@gmail.com on 14 Sep 2012 at 7:47

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/cefpython/issues/5

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 6:23

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

1 participant