Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pyload/pyload
/ normalize
Function
normalize
module/plugins/internal/misc.py:406–408 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
404
405
# Hotfix UnicodeDecodeError: 'ascii' codec can't decode..
406
def
normalize(value):
407
import
unicodedata
408
return
unicodedata.normalize(
'NFKD'
, value).encode(
'ascii'
,
'ignore'
)
409
410
411
#@NOTE: Revert to `decode` in Python 3
Callers
1
process
Method · 0.85
Calls
2
normalize
Method · 0.80
encode
Method · 0.45
Tested by
no test coverage detected