Time |
Nick |
Message |
07:32 |
|
BDorsey joined #evergreen |
07:49 |
|
BDorsey joined #evergreen |
08:07 |
|
mantis1 joined #evergreen |
08:32 |
|
kworstell-isl joined #evergreen |
08:37 |
|
mmorgan joined #evergreen |
08:38 |
|
dguarrac joined #evergreen |
08:41 |
|
kworstell-isl joined #evergreen |
09:01 |
|
mmorgan joined #evergreen |
09:04 |
|
Dyrcona joined #evergreen |
09:07 |
|
mmorgan1 joined #evergreen |
09:40 |
|
kworstell_isl joined #evergreen |
09:50 |
|
kworstell-isl joined #evergreen |
10:12 |
|
Christineb joined #evergreen |
12:07 |
|
jihpringle joined #evergreen |
12:10 |
Dyrcona |
Binary MARC records with HTML entities in them.... I guess.... Whatever..... |
12:27 |
berick |
@decide binary-marc-with-html OR html-with-binary-marc |
12:27 |
pinesol |
berick: That's a tough one... |
12:57 |
jeff |
&2DzfVQ- is the IMAP4 modified UTF-7 (mUTF-7) encoding for U+1F355, aka the "pizza" emoji: 🍕 |
12:59 |
* jeffdavis |
backs away slowly |
13:02 |
Dyrcona |
Does that pizza emoji have pineapple on it? |
13:04 |
Dyrcona |
So, chardet3 is my new friend. It tells me UTF-8 encoded MARC files are UTF-8 with 0.99 confidence, and MARC-8 encoded MARC files are ISO-8859-1 with 0.70 to 0.75 confidence. |
13:04 |
Dyrcona |
chardet3 does not know about MARC-8. |
13:05 |
* Dyrcona |
looks for a similar module to Python's chardet in Perl. |
13:07 |
Dyrcona |
libencode-detect-perl is packaged for Ubuntu/Debian. |
13:12 |
Dyrcona |
It turns out that libraries can choose UTF-8 when downloading records from Overdrive. If they don't then the records are apparently MARC-8. I don't want to have to figure that out manually, so I'm going to make my record load program do that for me. |
13:15 |
Dyrcona |
And Encode::Detect won't do what I want, since it decodes the text using the detect encoding. That will break MARC-8. |
13:15 |
Dyrcona |
I feel like I've had this monologue before.... |
13:26 |
Dyrcona |
Aha! ascii if there are no "fancy" characters for MARC-8. |
13:35 |
|
rfrasur joined #evergreen |
14:26 |
Dyrcona |
1 file changed, 39 insertions(+), 7 deletions(-) # Hopefully that does it! |
14:43 |
scottangel |
I'm looking at the 'strict barcodes' checkbox on the patron checkout page. Looks like it's bound to a variable called $scope.strict_barcode. The problem I'm facing is the function ng-change="onStrictBarcodeChange()" doesn't flip the boolean. Am I missing something? shouldn't there be something like $scope.strict_barcode = !$scope.strict_barcode; From what I can tell is this setting is meant to be saved w/ egCore.hatch.setItem() but |
14:43 |
scottangel |
the variable is technically undefined. Did I find a bug or am I the bug? lol |
14:52 |
Dyrcona |
Good question. I don't know. |
15:13 |
Dyrcona |
Meh... I should spell check commit messages before pushing.... |
16:01 |
|
BDorsey joined #evergreen |
16:37 |
Dyrcona |
Whee! MARC-8 encoded record, says it's UTF-8 in the leader but \xE1\x65 is MARC-8 for \xC3\xA8 in UTF-8. |
16:40 |
Dyrcona |
NB: I haven't done anything to the file other than inspect with my editor. |
16:40 |
Dyrcona |
Grr..... Omitted a word there. |
16:45 |
Dyrcona |
Also....Editing text in browser text boxes stinks.... |
16:46 |
Dyrcona |
@eightball Can I say something nice for a change? |
16:46 |
pinesol |
Dyrcona: You know the answer better than I. |
16:47 |
Dyrcona |
Well, I'll say this: Good evening, everyone! Stay safe, warm, and dry! |
16:59 |
Bmagic |
mmorgan++ # new devs show |
17:00 |
mmorgan |
Bmagic: Hah! Thanks, but far from my best performance! |
17:09 |
|
mmorgan left #evergreen |
17:26 |
|
jihpringle joined #evergreen |
19:44 |
|
jihpringle joined #evergreen |