File: encode_utf8.py

package info (click to toggle)
python-qt4 4.7.3-1%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 28,504 kB
  • ctags: 4,680
  • sloc: python: 28,738; cpp: 8,897; sh: 245; xml: 243; makefile: 150
file content (3 lines) | stat: -rw-r--r-- 106 bytes parent folder | download
1
2
3
def encode_utf8(s):
    # Python v3 will convert to UTF-8 anyway, so there is nothing to do.
    return s