Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved handling of non-ASCII characters in transcript printing and JSON output from yt command #602

Commits on Jun 14, 2024

  1. Improved handling of non-ASCII characters in transcript printing and …

    …JSON output
    
    - Updated print(transcript) to handle non-ASCII characters correctly.
    - Modified print statements to use ensure_ascii=False in json.dumps for correct display of non-ASCII characters.
    - Implemented exception handling to manage potential UnicodeEncodeErrors, ensuring fallback encoding to avoid garbled text.
    
    This change enhances the readability of outputs containing non-ASCII characters and addresses potential encoding issues across different environments.
    JFK committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    74dc4d4 View commit details
    Browse the repository at this point in the history