Bug 406692

Summary: 'st' incorrectly saved as 'st' to .bib file
Product: [Applications] KBibTeX Reporter: Tobias Schmalz <kde-bugtracking>
Component: Loading/saving filesAssignee: Thomas Fischer <fischer>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 0.8.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: An entry from my .bib file (managed by kbibtex) containing the bug

Description Tobias Schmalz 2019-04-20 00:01:37 UTC
Created attachment 119513 [details]
An entry from my .bib file (managed by kbibtex) containing the bug

SUMMARY
The letter combination 'st' is incorrectly written as the unicode ligature symbol 'st' to the .bib file for most entry fields

STEPS TO REPRODUCE
1. Open a .bib file in kbibtex
2. Create a new item containing the combination 'st', e.g. in the title or the author field, if none is already present
3. Save changes to .bib file
4. Inspect the .bib file with a text editor

OBSERVED RESULT
All appearances of 'st' are substituted by 'st' (see attached example)

EXPECTED RESULT
Letter combination 'st' should be saved unchanged as the ligature symbol might not be displayed in a resulting .pdf file

SOFTWARE/OS VERSIONS
Linux: 5.0.7 (Arch Linux)
KDE Plasma Version: -- (not installed)
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
I recently made the switch from i3wm (x11) to sway (wayland) as my window manager. I'm mentioning this just for the sake of completeness although I'm pretty sure the problem did not occur before I updated kbibtex to version 0.8.2 and my window manager should have nothing to do with the file management of kbibtex anyway.
Comment 1 Thomas Fischer 2019-04-30 20:54:30 UTC
I am quite sure that this bug is a duplicate of bug 405504. Please test the lastest code from branch 'master' or 'kbibtex/0.9' to confirm that it is gone.

*** This bug has been marked as a duplicate of bug 405504 ***
Comment 2 Tobias Schmalz 2019-05-03 10:55:17 UTC
(In reply to Thomas Fischer from comment #1)
> I am quite sure that this bug is a duplicate of bug 405504. Please test the
> lastest code from branch 'master' or 'kbibtex/0.9' to confirm that it is
> gone.
> 
> *** This bug has been marked as a duplicate of bug 405504 ***

You are absolutely right, switching to the latest git build fixed my problem! Thank you for your response and sorry for not checking the fixed reports as well before opening a new bug report!