979 questions
-2 votes
2 answers
20 views
Why does Excel not comply with RFC 4180 when saving CSV? [closed]
There is detailed specification of CSV Format in RFC 4180: Within the header and each record, there may be one or more fields, separated by commas. Each line should contain the same number of fields ...
Advice
1 vote
21 replies
260 views
How to read a specific text file format in C
I just wanted to ask if it's possible to read to a specific file format, say if I wanted to read from a file that has a format of something "info.uc" or "main.uc", how would I go ...
1 vote
0 answers
285 views
What (executable?) file format uses an “EDOS” magic number of “PEED”?
The original EDK contains the following macro definition (e.g. in Edk/Foundation/Efi/Include/EfiImage.h line 57): #define EFI_IMAGE_EDOS_SIGNATURE 0x44454550 // PEED A similar ...
0 votes
0 answers
166 views
Converting (I think) hexidecimal data to an image; possibly Delphi file format
NOTE: I deliberately didn't tag this with Python, even though that's what the code I've tried so far has been in, because I'm happy to use any language to solve this, it's really a data conversion ...
1 vote
0 answers
40 views
Can I store LH coordinate data in GLTF by defining root node with LH coordinate conversion matrix in the root of the scene
I am planning to write my own 3D rendering engine with LH coordinate system and I want to use GLTF as main scene description format But while GLTF is define strictly as RH coordinate system. I think ...
0 votes
0 answers
36 views
Syntax Error When Using PROC to Load Data to Stage from SFTP in Snowflake
I am facing an issue getting data from SFTP to the STAGE I have created. In the below, I create a FILE FORMAT, then a STAGE and finally use an already created STORED PROCEDURE to load the data. I ...
-1 votes
1 answer
135 views
how to escape double quote backslash in snowflake file format
My csv file has fields which in enclosed with double quotes and the fields are separated with |. For some of the fields i have below value in csv file: |"\"Bremen \""| I want to ...
0 votes
1 answer
81 views
How can I parse text from a *.PG type file?
I have some configuration (backup) files of a Siemens S7-300 PLC with the extension *.PG. Some other files have the extension *.DBF and can be read with the OLEDB Connection. But it is not possible to ...
0 votes
1 answer
345 views
How to detect if a Windows PE executable is for native code vs managed code? [duplicate]
I've been analysing Windows PE executables' binary file format. I know how to differentiate PE32 (32 bit) vs PE32+ (64 bit) and how to differentiate x86 vs x64. But I know that managed code uses the ...
0 votes
0 answers
133 views
What Machine Type does 0xEC20 indicate in a PE file?
In the Windows PE file (Portable Executable) file format, the 16-bit field right after the PE\0\0 signature of the PE header is the "Machine Type" field. Microsoft currently lists about 30 ...
1 vote
1 answer
148 views
Split mrc file into pieces by using DM script
I'm working with Digital Micrograph (DM) and have an MRC file that contains 10 distinct pieces. When loaded in DM, I can navigate through these pieces using the left and right arrow keys. I'm looking ...
1 vote
1 answer
153 views
Reading and manipulating a 3D stack of MRC images
The problem I am trying to solve is a three-parter. I am trying to read a 3D stack of MRC images (not as in: Can DM script read images with the same extension (like *.mrc) from a folder?), apply a ...
1 vote
2 answers
81 views
Using Powershell 7 test files for unix or windows format
I have a vendor who sends 5-10 files a month. Recently they started sending us a mixture of Unix format files among the Windows format files. This vendor is notoriously difficult to work with so this ...
0 votes
0 answers
155 views
Why does it fail to detect WAVE or RIFF?
I'm trying to load a wav file into a C++ app I Keep getting the program to print Invalid Wav File with exit code 5. This means the program thinks the chunkID didn't match RIFF or the format didn't ...
1 vote
1 answer
202 views
How to store metadata for a UTF-8 text file cross-platform?
I'm looking for a cross-platform way of storing small amounts of metadata for UTF-8 text files. Things like current selection and cursor position. I know about filesystem-specific solutions like using ...