I use pass to manage such things separately.
This allows to script around hard-coded secrets:
Click Tidy to clean up the entries below
@Book{sweig42,
Author = { Stef{\"O}{n} SwÖig },
title = { The impossible book },
publisher = { Dead Poet Society},
year = 1942,
month = mar
}
This is the output: Click Tidy to clean up the entries below
@book{sweig42,
title = {The impossible book},
author = {Stef{\"O}{n} SwÖig},
year = 1942,
month = mar,
publisher = {Dead Poet Society}
}
And \"O should be Ö, so I guess I do not really understand what is "incorrect" in your use case.