
You need to add the name and location of the font.
f = pygame.font.Font("segoe-ui-symbol.ttf",64)
In Python 3.4, you no longer need u until "โ" , as in Python 2.7.
unistr = "โ"
based on this other link, but for 3.4 as an example - 2.7
# -*- coding: utf-8 -*- import pygame import sys unistr = "โ" pygame.font.init() srf = pygame.display.set_mode((500,500)) f = pygame.font.Font("segoe-ui-symbol.ttf",64) srf.blit(f.render(unistr,True,(255,0,0)),(0,0)) pygame.display.flip() while True: srf.blit(f.render(unistr,True,(255,255,255)),(0,0)) for e in pygame.event.get(): if e.type == pygame.QUIT: pygame.quit() sys.exit()
source share