Merge pull request #12506 from dev-starlight/develop

fix, Add UTF-8 encoding to read_text method
This commit is contained in:
Matthias
2026-01-02 13:56:25 +01:00
committed by GitHub
7 changed files with 29 additions and 9 deletions
+10
View File
@@ -14,6 +14,16 @@ class StrategyTestV2(IStrategy):
Please look at the SampleStrategy in the user_data/strategy directory
or strategy repository https://github.com/freqtrade/freqtrade-strategies
for samples and inspiration.
---
Some test asian characters.
Ensures that unicode characters are handled correctly when reading strategy files.
Otherwise this may break on windows systems.
All roughly translate to "hello world".
chinese string: "你好世界"
korean string: "안녕하세요,세계"
japanese string: "こんにちは、世界"
"""
INTERFACE_VERSION = 2
+10
View File
@@ -23,6 +23,16 @@ class StrategyTestV3(IStrategy):
Please look at the SampleStrategy in the user_data/strategy directory
or strategy repository https://github.com/freqtrade/freqtrade-strategies
for samples and inspiration.
---
Some test asian characters.
Ensures that unicode characters are handled correctly when reading strategy files.
Otherwise this may break on windows systems.
All roughly translate to "hello world".
chinese string: "你好世界"
korean string: "안녕하세요,세계"
japanese string: "こんにちは、世界"
"""
INTERFACE_VERSION = 3