Skip to content

Comment on Making Sense of Python Unicode

Comments

bonus tip:

don't forget to add:

  # -*- coding: utf-8 -*-
also, if you're using vim, make sure your encoding as well as your fileencoding are correct (they're different):
  set encoding=utf-8
  set fileencoding=utf-8

> set encoding=utf-8

this will cause problems on windows.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.