|
|
#106 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Some replies ...
- No BOM is needed or used for utf-8 encoded files. A BOM is only needed for utf-16 and utf-32 given either could be in little endian or big endian byte order (thus Byte Order Mark) There is no little or big endian for 8 bit encoding. No file saved as utf-8 in Sigil needs or uses a BOM. There are many applications that can read the saved CSV files with no issues even on Windows. Using a BOM on an 8-bit encoded text file is just wrong. And for Windows in this day and age to default to assuming an ansi/ascii file when it detects an 8 bit encoded file is just stupidity on their part. In all other platforms utf-8 (with no BOM) is the default. According to google: To open a utf-8 encoded csv file in Excel, you should not double-click it. Instead, use the Data > Get Data > From File > From Text/CSV menu option in Excel, which allows you to specify the encoding as 65001: Unicode (UTF-8). - selection by copy to a clipboard is restricted to a single element, I will look into changing that if easily doable. - the status line's length will always change. It did for changing line number and column numbers before this change. As for the status line order, that question was already asked in an earlier post in this thread. I argued against it. But if most testers would prefer the order to be: CODEPOINT NAME (U+0000) - Line: 1, Col 1 . I would consider it. You are the third to ask for that change. We need to hear from other testers to get a consensus. - What reason do you have from disabling the character name? What benefit would it give to most users? IMHO, Sigil already has too many settings right now, so adding one to disable a new feature is probably not going to happen unless there is a negative impact on editing speed, but none has been detected or reported. So there are no downsides to adding that info to the status line. Yes, suggestions are still open. But please read the first post about what kinds of suggestions are acceptable. Include arguments about how and why this would help the majority of users. Last edited by KevinH; 01-21-2026 at 03:53 PM. Reason: Changed my response to the asked for order change |
|
|
|
|
|
#107 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
This change has already been added to master. |
|
|
|
|
| Advert | |
|
|
|
|
#108 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,779
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
You can easily add a BOM with Notepad++. Simply open the .csv file with it, select Encoding > UTF-8-BOM and save it. |
|
|
|
|
|
|
#109 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
FWIW, I thought Windows 11 fixed this by moving its default encoding to be utf-8 (Unicode 65001) for files and console use but maybe it was just Python on Windows that made that change.
Windows is alone in using an unnecessary BOM for utf-8 files as it breaks many many things on unix/linux/macos systems (ie try concatenating two text files and ending up with a BOM in the middle of the resulting file and breaking string compare, etc.) and it is against Unicode recommendations. FWIW, the entire networked world has moved to default utf-8 without an extraneous BOM. IMHO, it is time Windows joined the networked world instead of adding tracking and advertising to its operating system. But that is just my opinion. Sigil will not support it except to strip it out. Last edited by KevinH; 01-21-2026 at 03:52 PM. |
|
|
|
|
|
#110 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,209
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
This Windows user associates CSV files with Nirsoft's CSVFileView. Spreadsheet programs like Excel, Calc, 123 and Quattro are massive overkill for something like a list of misspelt words in a novel.
In defence of Microsoft: Excel is used by millions. It is used by large corporates (banks, pension fund managers etc) in their Line of Business processes, and in Mission Critical (life and death) applications - e.g. Fire & Rescue resource scheduling. Removing a defect in Excel may have material consequences. It's even [mis]used by storied Harvard economists ==>> https://en.wikipedia.org/wiki/Growth_in_a_Time_of_Debt ![]() BR |
|
|
|
| Advert | |
|
|
|
|
#111 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
So that means you never fix bugs? No, it means you fix the bug and test the hell out of it before releasing the fix. Microsoft has done neither.
|
|
|
|
|
|
#112 | |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 825
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
|
Quote:
|
|
|
|
|
|
|
#113 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,209
Karma: 30317706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
As for testing the 'hell out of it" - I couldn't agree more, especially with large corporate and public service clients who use it in their LOB and Mission Critical business processes. There used to be an adage: "Software should only be changed when the cost of not changing it exceeds the cost of doing the change - including loss of market share." Is it still around. For some reason i associate that with Tom Peters. I suspect MS doesn't suffer from FONKU
Last edited by BetterRed; 01-21-2026 at 07:40 PM. Reason: add Tom Peters remark - |
|
|
|
|
|
|
#114 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,046
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I've never understood why people use Excel to manipulate csv files.
|
|
|
|
|
|
#115 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
Windows 11 should have fixed all this nonsense. |
|
|
|
|
|
|
#116 | ||||
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 17648
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
|
@KevinH: Thank you so much for your quick replies!
I understand your well-founded reasons. The BOM suggestion wasn't specifically for me, but for the millions of Win-Excel users who just double-click and that's it. It was just a suggestion to save you potential "It's not working properly" reports ![]() No problem for me. Quote:
Quote:
Quote:
Quote:
That's all, no other interest on my part. Thanks again for your time and consideration! |
||||
|
|
|
|
|
#117 | ||
|
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 42
Karma: 17648
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
|
Quote:
Quote:
|
||
|
|
|
|
|
#118 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
|
|
|
|
|
|
|
#119 | ||
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,264
Karma: 6565382
Join Date: Nov 2009
Device: many
|
Quote:
. And promoting a broken idea just for one set of users is not a good idea for any cross-platform app in my humble opinion.FWIW, a websearch shows Windows 11 does finally have a new feature to make the default encoding utf-8 for all apps, as it is in Notepad now, even for older apps. Quote:
For existing 8-bit code page text docs, many apps have the capability to bulk transcode 8-bit encoding to utf-8 to future (present)-proof them, especially for archiving. Sigil does this for all xhtml files on initial load (detects encoding either by charset settings or detection algorithms and converts it to utf-8). Last edited by KevinH; 01-24-2026 at 12:12 PM. |
||
|
|
|
|
|
#120 |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,452
Karma: 20534347
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Here's a suggestion:
Can you make the "Edit/Paste from Clipboard History (Ctrl-Alt-V)" a dockable window...or at least non-modal. I find myself constantly pasting from recent history (not necessarily the same text which would better serve as a clip) and having it auto-close after every paste is an annoyance. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Suggestions for Sigil Improvements or New Features | KevinH | Sigil | 168 | 11-18-2025 01:23 PM |
| Suggestions for New Plugins and Plugin Improvements | KevinH | Plugins | 0 | 09-22-2025 11:53 AM |
| Ideas for New Improvements or Features | KevinH | Sigil | 97 | 04-09-2025 10:45 AM |
| Improvements/bugs/features | dontcrash | KOReader | 10 | 10-23-2019 11:05 AM |
| Onyx M92: Suggestions for possible improvements | Lode | Onyx Boox | 3 | 02-11-2013 08:40 AM |