# -*- coding: utf-8 -*-
import sys
from io import TextIOWrapper
sys.stdout = TextIOWrapper(sys.stdout.buffer, encoding='UTF-8', errors='replace')
print('♥')
I have problems with printing out the suits symbols in Windows console I search the internet for 2 days but found nothing how to make the console able to print these symbols. It seems to work in any other platform like Linux... I tried the solution provided above to import some modules and change the encoding of the system. it works but after 2 hours the console starts printing Latin characters instead e.g ē Does not make any sense i really need help i have to do this before the submition day on next friday