![]() |
Re: mbarcode
It seams that it doesn´t support written accents. Instead of an "á" or an "ó" it displays an square. Is it my problem or an issue with the program.
|
Re: mbarcode
Quote:
Quote:
Quote:
|
Re: mbarcode
Quote:
|
Re: mbarcode
I created this one with all the vowels:
|
Re: mbarcode
ZXing generates this output (http://zxing.org/w/decode):
A á E é I Ã* O ó U ú and mBarcode generates something with similar end symbols (look at the terminal output. Ignore the fact that on some line most of the data are turned into delta characters, this seems to be caused by not using qPrintable() but instead using the stream operator to send the text to qDebug().) So the question is really, what sort of encoding does the barcode contain? Afaiu, both libzbar and libdmtx should accept UTF-8, and it is possible to specify this at the beginning of the barcode. See this comment: http://sourceforge.net/tracker/?func...36&atid=928516 Basically it's going to take some more digging I think to work out whether the fault lies with the data (not saying what encoding it uses), the decoders (not guessing correctly or not handling the particular encoding in the data) or mBarcode (loosing the encoding along the way). We specifically generate the QStrings that pass the data around using .fromUtf8(), so I think we should be handling it correctly. I'll see if there's a way of forcing the decoders to always assume UTF-8 in the absence of any other indicators. |
Re: mbarcode
Confirming that the new mbarcode version from Extras-Devel is way more responsive now.
|
Re: mbarcode
I've just pushed a very minor update to extras-devel which implements focus+scan for 5sec if you press the space button as mrsellout requested.
I've also worked out why the DBus and PythonQt plugins weren't working (my not using QDir very well) and will do some testing to see if I can get these up and running asap. Nothing in Extras-* for these, but they are sat in SVN if anyone wants to take a look. |
Re: mbarcode
I'll try to get around and fix the fps startup issue. I just haven't found the error in the code yet. I think it could be solved by checking the shutter state one more time.
About the characters, this was something I looked into earlier. The problem is that ISO-8859-something or UTF-8 is usually the encoding used for qr codes, but there is no default encoding in the specification, so everything, including UTF-8, might be used. In other words, if there is no information about the character encoding used by the qr encoder, there is no way to know what it is. I suggest we go with assuming UTF-8, as it is most universal, unless there are any encoding hints in the code. |
Re: mbarcode
But we could of course add an user option to change the encoding in case we get it wrong. Or somehow try to "guess" the encoding, if that is at all possible?
|
Re: mbarcode
Quote:
Quote:
Dragly, any thoughts on giving an indication (e.g. colour the list item) in the ResultsWindow sink list so that users know their tap has been registered? |
| All times are GMT. The time now is 02:34. |
vBulletin® Version 3.8.8