Closed illuusio closed 8 years ago
US-ASCII was the default locale for OBS build worker.
I'll explicit convert the json to UTF-8
How to overcome this then? Or have made some magic change in OBS?
no you cant by yourself.
You can raise a bug in opensuse-buildservice@opensuse.org mailing list to ask them to set default locale of build worker to en_US.UTF-8. or everthing is opened in US-ASCII mode by default. which is your case.
or wait for my workaround in nodejs-packaging by open everything explicitly in UTF-8 mode. I can't do this now because it's midnight (GMT +0800), will do it tomorrow.
Ok I'll wait because it also evening here and you will fix it before I'm up :dancer:
commit 448f686 fixed this.
you can also use the nodejs-packaging there which is my devel test build
Thank for the fast fix I'll try it and report another bug if needed
I'm facing problem that provides are not parsed in several Nodejs packages with new nodejs-packaging. For example:
https://build.opensuse.org/package/show/home:illuusio:nodejs-fedora/nodejs-invert-kv
It generates error
Which I assume is caused by UTF-8 char or something JSON-stream. Ruby is not my best language but I try to dig this little more.