HF RL Explorer

Fix chcp parsing for the current codepage

Fix chcp parsing for the current codepage: a task in github-trending-environments-10k (Harbor dataset). Title: Fix chcp parsing for the current codepage

The task

**Title:** Fix chcp parsing for the current codepage

Part of scalingX/github-trending-environments-10k.