Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Ilpo Nyyssönen Ilpo Nyyssönen Python

    It is very annoying that unicode(u'foo', 'utf-8') raises an error. !python

    Thursday, 31-Dec-09 11:25:18 UTC from web at Kamppi, Southern Finland, Finland
    • Ilpo Nyyssönen Ilpo Nyyssönen

      @myfreeweb I have either utf-8 string or unicode and I wan't to get unicode.

      Thursday, 31-Dec-09 12:29:08 UTC
    • Ilpo Nyyssönen Ilpo Nyyssönen

      @myfreeweb No. I'm using python 2.6 and I have either str or unicode instance and I want to get unicode instance conveniently.

      Thursday, 31-Dec-09 14:07:04 UTC
    • Ilpo Nyyssönen Ilpo Nyyssönen

      @myfreeweb And if it is str instance, I know the encoding is utf-8.

      Thursday, 31-Dec-09 14:08:23 UTC
    • Pavel Frolov Pavel Frolov

      @myfreeweb Флудерастирует %)

      Thursday, 31-Dec-09 15:04:35 UTC
    • Ilpo Nyyssönen Ilpo Nyyssönen

      @myfreeweb That doesn't work, but I don't want to continue about this, I already wrote my own function for this.

      Thursday, 31-Dec-09 15:47:24 UTC
    • Wouter van Heyst Wouter van Heyst

      @biny u'foo' is a unicode object, not an encoded string. What are you trying to do?

      Friday, 01-Jan-10 16:11:13 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal