What does the u'*****' mean?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 11 November 2011   #1
What does the u'*****' mean?

Hi there everyone!

I hope this isn't too silly of a question, but I'm working with Python, and shaders, and I'm wondering what the following means:

After creating or querying a shader, and printing the result, I get something similar to the following:

Code:
>>> shdr, sg = createSurfaceShader( 'blinn' ) >>> shdr nt.Blinn(u'blinn1')


Why is the result:
u'blinn1'

instead of just:
blinn1

What does it mean?
Thanks in advance,
M
 
Old 11 November 2011   #2
It stands for Unicode. Basically ASCII can hold 256 values while Unicode can hold lots more, I think over 65,000 values.

No need to worry about it.
 
Old 11 November 2011   #3
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 07:07 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.