I am not sure if this is a bug or informed limit put on storage key. If key contains non-ASCII chars, it gives the following error:
"Key \"ABC-Баг\" should match the pattern \"/^[a-zA-Z0-9:._\\s-#]+$/\"
Supporting non-ASCII chars wouldn’t hurt, I guess?
This is not a bug and was intended. This decision was made some time ago it may no longer be necessary to keep.
Will need to discuss with the team about this.
I don’t think this change will be an easy one though, multiple binary representations of unicode can be considered equivalent. e.g. order of marks may (or may not) be equivalent respect to commutativity. unicode normal form.