fix: support chinese for enum by wleven · Pull Request #1913 · ferdikoomen/openapi-typescript-codegen
If the name is used as an identifier, the correct characters to include would be the ones with the ID_Start or ID_Continue Unicode property. The CJK characters in the BMP with ID_Start are currently \u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAD9.
It could also make sense to already allow all characters with the correct Unicode properties, though that would probably require a dependency to pull off.