You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_should_import_multiple_from_bibtex_file(PublicationsControllerTest) [/home/travis/build/seek4science/seek/test/functional/publications_controller_test.rb:177]:
<nil> expected to not be nil.```
The text was updated successfully, but these errors were encountered:
it seems that the encoding of the strings coming from a bibtex import is not quite correct - and sqlite will store them as binary - so that querying them does not work on those
stuzart
added a commit
to seek4science/seek
that referenced
this issue
Nov 7, 2016
The patch will be rewritten following @fbacall's suggestion: bibtex_file = params[:publication][:bibtex_file].set_encoding('utf-8')
Since the bibtex file comes through the form, the encoding might not be quite correct, which results in extracted texts to be not encoded as 'utf-8'
postgresql: https://travis-ci.org/seek4science/seek/jobs/172687496
sqlite3: https://travis-ci.org/seek4science/seek/jobs/172687540
The text was updated successfully, but these errors were encountered: