Hacker News new | ask | show | jobs
by leecho0 5875 days ago
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
1 comments

> set encoding=utf-8

this will cause problems on windows.