Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File encode win1252 #2304

Open
4 tasks done
intellekta opened this issue May 24, 2024 · 4 comments
Open
4 tasks done

File encode win1252 #2304

intellekta opened this issue May 24, 2024 · 4 comments

Comments

@intellekta
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a enhancement/feature request. Not a bug or question.
  • The topic is not already reported at Issues. (I've searched it).
  • Markor is up to date. See Releases for the latest version. Updates are available from F-Droid and GitHub.
  • The wanted feature/enhancement is not present in the latest development version (git master). (Please download and try the test version of Markor, named Marder. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor's settings are not touched. If your desired feature is present, you don't need to open this issue. The change will be part of the next Markor update.)

Description

My files are copied between Windows and Android and are ansi encode.
Is it possible to set *.md files to this encoding?

Information

Android version: 14
Device: S24ultra
App Version: 2.12.1

Source

F-Droid

Format / File type

Markdown

Additional info / Log

-
@gsantner
Copy link
Owner

Android/Java world as well most components, tools and libraries uses UTF-8 + \n line endings by default (or better say, support that fully and best). Which happens also to be the most common file encoding nowadays.

What would be possible that Markor detects win1252 encoding and converts it to UTF-8. Everything except Windows stoneage notepad.exe should be capable of handling UTF-8 + \n line endings.

@intellekta
Copy link
Author

Thanks, pity that you can't adjust that.

@harshad1
Copy link
Collaborator

Messing with crlf or encodings is likely to cause a lot of issues. Basically everything supports / requires utf-8 now.

@gsantner even notepad in windows 10+ supports utf-8 and unix line endings :)

@intellekta
Copy link
Author

Thanks for the information, I switched to vscode for android.

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

No branches or pull requests

3 participants