mirror of
https://github.com/status-im/react-native-config.git
synced 2025-02-23 20:38:10 +00:00
Allow utf-8 charactor in config value (#179)
This commit is contained in:
parent
2dcd3a5848
commit
e0c2ffe813
@ -1,5 +1,10 @@
|
||||
#!/usr/bin/env ruby
|
||||
|
||||
# Allow utf-8 charactor in config value
|
||||
# For example, APP_NAME=中文字符
|
||||
Encoding.default_external = Encoding::UTF_8
|
||||
Encoding.default_internal = Encoding::UTF_8
|
||||
|
||||
# pick a custom env file if set
|
||||
if File.exists?("/tmp/envfile")
|
||||
custom_env = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user