Fix crash encoding empty raw resource strings
Fix crash encoding empty raw resource strings: a task in github-trending-environments-10k (Harbor dataset). Title: Fix crash encoding empty raw resource strings
The task
**Title:** Fix crash encoding empty raw resource strings