Fix encoding check for V2 community