Comments (4)
Hello my first issue reporter :)
I only want to confirm, you mean file content encoding? I'm linux user day by day and I was pretty sure that utf8 is common standard for encoding. Add default encoding in workspace settings seems be quite easy to do, if it's improve Notepack it make sense for me.
from notepack.
Hi, yes I mean file encoding. It seems that app gets default encoding from Windows locale settings. I'm using Lithuanian settings, so files are saved with character set Windows-1257.
But here you need to be careful, maybe add this utf-8 setting as optional, because if you will set it as default, current users after app update will not see their non-English symbols correctly.
Also another remark - Windows/Linux/Macintosh each system has different text line ending symbol (Windows - CR LF, Linux LF, Macintosh - CR), so it would be reasonable to follow it. Now current file in Windows has Linux line endings LF.
from notepack.
It take me more time than I thought before but I needed to prepare windows dev environment which was quite hard for long time linux user.
Anyway, I added extra checkbox in workspace configuration. If default encoding in system is UTF-8 like Ubuntu this checkbox is hidden but when system encoding is for example windows-1257 (I tested with windows-1250 - Poland here) then extra checkbox is available, if you set this on then all content saved is converting to UTF-8. Tested in many ways seems works as expected. You can check by yourself with 0.9.13 release
I have to think about end lines, for sure this could be an issue in some cases but right now I'm try to avoid overload settings in workspace configuration.
Thank you involve, if you have some ideas feel free to write them. I have plans to make Notepack best knowledge app for desktops
from notepack.
Thanks! Now it works well :)
from notepack.
Related Issues (13)
- Add controls in create notepad window HOT 1
- Integrate and test GPG library HOT 1
- Loss of note if saved with "/" in filename HOT 1
- Freeze/crash and rollback after importing PDF HOT 4
- Create extra NoteStorage engine for GPG
- Cannot scroll all the way down in editor HOT 1
- Can't acces my files HOT 4
- Cannot enable encryption. HOT 2
- Website notepackapp.com alerts: Error: Secure connection failed HOT 1
- Use extra storage and created GUI to enable this feature
- Feature request
- Invalid Note name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from notepack.