Skip to content
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

ADIF export issue #316

Closed
ra3sad opened this issue Feb 11, 2024 · 3 comments
Closed

ADIF export issue #316

ra3sad opened this issue Feb 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ra3sad
Copy link

ra3sad commented Feb 11, 2024

Hi!
There are problems with export in ADIF format - NAME and QTH fields are missing (but in table is not empty and looks fine), but if they exist - their contents are - <qth:6>. , - . This applies only to the Cyrillic characters. ADIF import with Cyrillic IS OK!
System charset is UTF-8. Debian 12. Software version - 0.31.0
Thanks, Alex.

@foldynl
Copy link
Owner

foldynl commented Feb 11, 2024

Alex, ADIF format has two formats - ADI and ADX. ADI is defined as pure ASCII format what means that there has not to be any non-ASCII character. On the other hand, ADX support UTF-8 charset.

Because many applications do not comply with this, QLog is able to import UTF-8 fields even in the case of ADI. On the other hand, QLog never exports non-ASCII char to ADI. QLog tries to do some conversion, but in the ADI field, the non-ASCII char is always overwritten, as in your case.

If you want to export non-ASCII chars, then you need to use a more suitable format like ADX or CSV.

@ra3sad
Copy link
Author

ra3sad commented Feb 12, 2024

Thanks, I understand the logic. I solved the problem for myself by editing the source code. Maybe add a checkbox to export dialog to select whether to filter non-ASCII characters or not?

@foldynl
Copy link
Owner

foldynl commented Feb 13, 2024

checkbox is not a good idea, because it would totally disturb the consistency of the data in ADI. The only thing I could accept is a warning that such a conversion occurs.

@foldynl foldynl added the enhancement New feature or request label Feb 13, 2024
@foldynl foldynl closed this as completed in 65fc34b May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants