Skip to content

Instantly share code, notes, and snippets.

View hugocbp's full-sized avatar

Hugo Pinto hugocbp

View GitHub Profile
#!/usr/bin/env python3
"""
Standalone script to test Unicode apostrophe encoding issues.
This reproduces the "It's" → "It’s" encoding issue and tests various encodings.
Run directly with: python encoding_check.py
"""
def check_unicode_apostrophe_encoding():