Top "Unicode-literals" questions

Use this tag for questions related to Unicode Literals.

How to write unicode cross symbol in Java?

I'm trying to write this unicode cross symbol (𐀵) in Java: class A { public static void main(String[] args) { System.out.…

java unicode string-literals unicode-literals
How do I encode Unicode character codes in a PowerShell string literal?

How can I encode the Unicode character U+0048 (H), say, in a PowerShell string? In C# I would just do …

powershell unicode string-literals unicode-literals
Unicode literal string

I'm sending some JSON in an HTTP POST request. Some of the text within the JSON object is supposed to …

c# json unicode unicode-literals
How to print literal unicode string in Javascript?

I have an array containing strings with special unicode characters: var a = [ ["a", 33], ["h\u016B", 44], ["s\u00EF", 51], ... ]; When …

javascript unicode character unicode-literals
Any gotchas using unicode_literals in Python 2.6?

We've already gotten our code base running under Python 2.6. In order to prepare for Python 3.0, we've started adding: from __future__ …

python unicode python-2.6 unicode-literals
python - how to add unicode literal to a variable?

I've seen some examples like this: for name in os.listdir(u'somedir') : my problem is that I'm getting the somedir …

python unicode-literals
Unicode string literals

C++11 introduces a new set of string literal prefixes (and even allows user-defined suffixes). On top of this, you can …

c++ c++11 unicode string-literals unicode-literals
Unicode literals that work in python 3 and 2

So I have a python script that I'd prefer worked on python 3.2 and 2.7 just for convenience. Is there a way …

python python-3.x unicode python-2.x unicode-literals
How to decode unicode raw literals to readable string?

If I assign unicode raw literals to a variable, I can read its value: >>> s = u'\u0421\…

python string unicode encoding unicode-literals
Python unicode string literals :: what's the difference between '\u0391' and u'\u0391'

I am using Python 2.7.3. Can anybody explain the difference between the literals: '\u0391' and: u'\u0391' and …

python unicode unicode-literals