HF RL Explorer

Add a UTF-8 validation utility

Add a UTF-8 validation utility: a task in LegoFlow-SWE (Harbor dataset). The framework needs a function to validate UTF-8 encoded byte sequences to support WebSocket and other protocol implementations. Currently, no such validation exists.

The task

The framework needs a function to validate UTF-8 encoded byte sequences to support WebSocket and other protocol implementations. Currently, no such validation exists.

Part of Lego-X/LegoFlow-SWE.