Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Editing .cue on Notepad (Read 5240 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Editing .cue on Notepad

Hi there!

Is there any risk in editing .cue files in Notepad?

Re: Editing .cue on Notepad

Reply #1
Improper syntax. Saving to wrong format or encoding.
It also depends on the program. When encoded as UTF-8, BOM (byte order mark) may be required so the .CUE isn't interpreted as ASCII.
from the original CDRWIN manual
Quote
Cuesheet files are standard text (ASCII) files. You can use any text
editor, such as Notepad or Wordpad, to edit your cuesheet. Do not
save your cuesheet in any non-text format.
http://web.archive.org/web/20070221154246/http://www.goldenhawk.com/download/cdrwin.pdf (see Appendix A)

the Cue-Sheet Syntax also here
https://web.archive.org/web/20160123204637/http://www.digitalx.org/cue-sheet/syntax/

http://wiki.hydrogenaud.io/index.php?title=Cue_sheet
https://en.wikipedia.org/wiki/Cue_sheet_(computing)
korth

Re: Editing .cue on Notepad

Reply #2
I highly recommend using Notepad++ as a text editor. The encoded format can be changed, such as making it UTF-8-BOM. Plus, it's a veyr powerful tool in terms of editing.

Re: Editing .cue on Notepad

Reply #3
Thanks a lot, guys!

Re: Editing .cue on Notepad

Reply #4
I'm a little confused … In some messages I understood that it would be enough to save the .cue file in notepad and there would be no problem because that would be correct. It would be enough to save in the current standard format, "UTF-8".

After all, when editing a .cue file in notepad, should you necessarily, or not, save it in the "UTF-8-BOM" format?

Re: Editing .cue on Notepad

Reply #5
It depends on the original file format, what was edited and which program is reading the CUE.
If the original CUE was ANSI and the edits made included all ANSI characters then the file will be saved as ANSI.
If the original CUE was UTF-8-BOM, the file will be saved as UTF-8-BOM after edits.
If the original CUE was ANSI and the edits made included non-ANSI characters then you will be prompted to save the file in a format that supports Unicode characters.

This thread is in the CUETools board. CUETools will interpret a UTF-8 CUE as all ANSI characters. If you edited an ANSI CUE using non-ANSI characters then when prompted to save the file in a format that supports Unicode characters, you should save as UTF-8-BOM so CUETools will recognize the Unicode characters you added in your edit.
korth

Re: Editing .cue on Notepad

Reply #6
@korth

It's clear now, thank you very much!