• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Fatal error, even though everything seems fine?

  • 428
    Posts
    5
    Years
    [Pokémon Essentials version 19.1]
    [Generation 8 Project v1.1.0]
    [v19.1 Hotfixes 1.0.7]

    Exception: ArgumentError
    Message: invalid byte sequence in UTF-8

    Backtrace:
    368:Compiler:105:in `[]'
    368:Compiler:105:in `block in pbEachFileSectionEx'
    368:Compiler:100:in `each_line'
    368:Compiler:100:in `pbEachFileSectionEx'
    368:Compiler:134:in `pbEachFileSection'
    369:Compiler_CompilePBS:389:in `block in compile_pokemon'
    369:Compiler_CompilePBS:383:in `open'
    369:Compiler_CompilePBS:383:in `compile_pokemon'
    368:Compiler:704:in `compile_all'
    [v19.1 Hotfixes] Debug bug fixes.rb:68:in `compile_all'

    I've looked at the text the error message speaks of, and nothing appears out of the ordinary. There are no coding errors in PBS. I've seen this error before and fixed it by copypasting over a backup copy of the problem file from a backup of my work, from before I made any changes to these files. Does Wordpad do something UTF-8 doesn't like? Because right now it seems these files cannot be edited in any way at all without making the entire game unable to run.
     
    Back
    Top