question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default to Unicode strings

See original GitHub issue

Would it be possible, when inserting data, to default to Unicode strings? That is, instead of having to use ExplicitUnicodeString, to force people to use ExplicitNonUnicodeString when they don’t want Unicode? I realize this might be a breaking change, but it seems like the right thing to do. Am I missing something that makes this a bad idea?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vgrigoriucommented, Apr 16, 2018

Wow 😄

Thanks for finally getting this in!

0reactions
fubar-codercommented, Apr 16, 2018

It was a rough ride. 1 month of work went into the 2.0 release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unicode HOWTO — Python 3.11.4 documentation
A Unicode string is turned into a sequence of bytes that contains embedded zero bytes only where they represent the null character (U+0000)....
Read more >
A Guide to Unicode, UTF-8 and Strings in Python
All strings by default are str type — which is bytes~ And Default encoding is ASCII. So if an incoming file is Cyrillic...
Read more >
python - Should I use Unicode string by default?
I mainly work on the Windows platform, where most of the string types are Unicode these days (i.e. .NET String, '_UNICODE' turned on...
Read more >
Unicode strings | Text
This tutorial shows how to represent Unicode strings in TensorFlow and manipulate them using Unicode ... Unicode strings are utf-8 encoded by default....
Read more >
Unicode character encodings
On my machine, the default character encoding is utf-8 . But on Windows, the default character encoding is usually cp1252 .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found