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

UTF8 Encoding and Letter page size support #234

Closed
sardinas9 opened this Issue Jul 2, 2016 · 10 comments

Comments

Projects
None yet
2 participants
@sardinas9

sardinas9 commented Jul 2, 2016

I use QOwnNotes on a daily basis for my research and personal notes. Thank you for your efforts in creating and maintaining such a wonderful piece of software.

I wonder if is possible to add UTF8 encoding and implement the option to select UTF8 as default encoding for new text notes.

It would be nice also to have the option to export to and print notes to letter size page. (8.5 by 11.0 inches) (215.9 by 279.4 mm).

Thank you.

@pbek

This comment has been minimized.

Owner

pbek commented Jul 2, 2016

encoding

UTF8 should already be used, what are your notes encoded with?

letter

which operating system are you using?

@pbek pbek added the enhancement label Jul 2, 2016

@sardinas9

This comment has been minimized.

sardinas9 commented Jul 2, 2016

Whenever I create a new note from QOwnNotes interface the note is saved in ANSI encoding by default.

I am using Windows 10 Professional Build 10586 and the page size options for export and print from within QON are from A0 to A9.

@pbek

This comment has been minimized.

Owner

pbek commented Jul 3, 2016

How did you check the character encoding on Windows? Could you please send me a note you created with QOwnNotes?

@pbek

This comment has been minimized.

Owner

pbek commented Jul 3, 2016

In v16.07.1

  • added Letter as page size for PDF exports under Windows and OS X

@pbek pbek added this to the 16.07.1 milestone Jul 3, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Jul 3, 2016

encoding

In my tests notes were created in UTF8 on Windows.

@pbek

This comment has been minimized.

Owner

pbek commented Jul 3, 2016

There now is a new release, could you please test it and report if Letter-exporting works for you?

@sardinas9

This comment has been minimized.

sardinas9 commented Jul 3, 2016

Export to letter size works fine. Thank you so much!

I attached a new note without any modification.
Note 2016-07-03T09.30.34.txt

I check the character encoding with Notepad++.
This is a screen capture from the same note opened with NP++
note 2016-07-03t09 30 34

@pbek

This comment has been minimized.

Owner

pbek commented Jul 3, 2016

There is no UTF8 character in this note so Notepad++ would never know if it is an UTF8 text file. You need to enter some UTF8-characters. :)

@sardinas9

This comment has been minimized.

sardinas9 commented Jul 3, 2016

I asked about UTF-8 encoding because i noticed that when i created a new note from within QON and then I open the note with NP++ the status bar shows ANSI as encoding (as in the screen capture above). I don't know other way determine the encoding.

@pbek

This comment has been minimized.

Owner

pbek commented Jul 4, 2016

You cannot tell if the charset is ISO8859-1, Latin1, ANSI or UTF-8 if there are no special characters in the file. Your file meets all specifications. As long you only use ansi characters the file is everything... UTF-8 uses one to four bytes per character and is compatible to ansi as long you only use ansi characters. ;)

@pbek pbek closed this Jul 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment