Skip to content

Conversation

Alex4386
Copy link
Contributor

@Alex4386 Alex4386 commented Dec 16, 2024

What's new

Verification

  • The System.IO.Compression.ZipFile::ExtractToDirectory will have UTF-8 Encoding enforced.
  • The Current SDK will successfully deploy on OS environments that has non-cryillic or non-latin coding pages by default

Checklist (For Reviewer)

  • PR has description of feature/bug or link to Confluence/Jira task
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@Alex4386 Alex4386 changed the title Fix invalid path errors for non-Latin characters by enforcing UTF-8 encoding in toolchain Fix invalid path errors while deploying SDK by enforcing toolchain to use UTF-8 on initial SDK Extraction Dec 17, 2024
…4024)

Due to cryillic alphabet on `/openocd/scripts/target/1986ве1т.cfg`, If the system codepage is handling `WideChar` for cryillic properly, It would cause jumbled characters and fail to decompress via System.IO.Compression.ZipFile without Encoding enforcement. (See #4024 (comment))
@Alex4386 Alex4386 force-pushed the feature/enforce-toolchain-utf8 branch from 9e2afb4 to 76a7183 Compare December 17, 2024 04:09
@skotopes
Copy link
Contributor

Nice catch. Thanks for finding and fixing issue.

@skotopes skotopes merged commit 519b896 into flipperdevices:dev Dec 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ufbt no longer properly deploys SDK on Windows Systems with non-Latin/Cyrillic system language

2 participants