vlt | alkisg, nemo: I had already tried (and mentioned) iconv before. It doesn't complain. `echo $?` is 0 | 05:49 |
---|---|---|
vlt | libreoffice shows only Gdk-WARNINGs on the command line. | 05:50 |
vlt | pluma: "** (pluma:20260): WARNING **: Hit unhandled case 34 (Incomplete multibyte sequence in input) in parse_error." | 05:52 |
vlt | I doublechecked in Python again: data.decode("utf8") works without raising an exception. | 05:57 |
alkisg | vlt: did you configure pluma to use iso8859-15 instead of utf8? | 06:00 |
alkisg | Can you pinpoint the line that causes the problem? | 06:00 |
alkisg | E.g. cut half of the file, then again the other half etc, binary search, until you pinpoint the line | 06:00 |
alkisg | It shouldn't need more than 5-6 bisections... | 06:01 |
alkisg | Then paste the line somewhere so that we can reproduce it | 06:01 |
* vlt does that. | 06:08 | |
vlt | alkisg: Looks like pluma chokes on a \x00 | 06:16 |
alkisg | vlt: text files don't contain that :) | 06:16 |
alkisg | that's binary | 06:16 |
vlt | "binary" | 06:17 |
vlt | :-D | 06:17 |
vlt | What does "binary" mean here? Is \x09 binary, too? | 06:19 |
alkisg | No, it's text | 06:25 |
alkisg | tab, space etc are text | 06:25 |
mate|53213 | a | 10:36 |
krishnakarkera | hi | 12:58 |
krishnakarkera | waassup | 12:58 |
andreas_ | hi | 13:13 |
nemo | bye | 13:24 |
nemo | alkisg: \x00 is definitely invalid utf-8 | 13:25 |
nemo | if python is accepting that they are not validating | 13:26 |
nemo | it would kinda have to be invalid utf-8 or C strings would be in trouble 😉 | 13:26 |
nemo | well is invalid ascii too 😉 | 13:27 |
nemo | (for strings) | 13:27 |
nemo | eh... I guess the python is just doing encoding validation, not validating that they are C-safe strings | 13:29 |
nemo | hm... why would pluma care about this... | 13:29 |
* nemo makes a test file | 13:29 | |
nemo | lol | 13:30 |
nemo | I tried test^@test | 13:30 |
nemo | pluma thought it was... UTF-16 I guess | 13:30 |
nemo | generated something that looks like a mashup of CJK but unselectable and uncopyable | 13:31 |
nemo | hm... | 13:32 |
nemo | 2nd attempt w/ more utf-8. same result. RIGHT let's try putting a null inside some larger UTF-8 text file. | 13:32 |
nemo | ah-hah. finally | 13:34 |
nemo | had to copy a whole article off of lemonde.fr and insert a null in the middle of it ☺ | 13:34 |
nemo | at that point it did in fact fail validation | 13:35 |
nemo | or at least fail detection | 13:35 |
nemo | similar issues with "file" command | 13:35 |
nemo | $ file test | 13:35 |
nemo | test: UTF-8 Unicode text, with very long lines | 13:35 |
nemo | (prior to the null | 13:36 |
nemo | ) | 13:36 |
nemo | after the null is just test: data | 13:36 |
nemo | wouldn't surprise me if pluma's using same underlying lib | 13:36 |
nemo | heh. found an annoyed HN commenter a while ago https://news.ycombinator.com/item?id=3906755 | 13:38 |
nemo | but, eh, in a text editor this isn't totally illogical to me | 13:38 |
nemo | also invalid XML actually and probably invalid in a fair # of other text formats | 13:55 |
alkisg | nemo: it was vlt that had the issue, not me :) | 13:57 |
nemo | ah | 14:36 |
=== Menzador is now known as Wreckedzador | ||
sigurdson | hiya i am at the ubuntu-mate.communnity site but i cannot find "post new" anywhere? | 15:23 |
sigurdson | Ok, i will ask here.. I had a power down in my house and i had to connect 1 and 1 drive to get them to work.. I am worried that some of the internal parts has fault, allthough i dont know.. That is why i need some linux tools to help me. Checking the drive state on my harddrives, my motherboard graphic card and RAM. Anyone know what tools i should use? | 15:30 |
Wreckedzador | (1) This is indeed a support channel :) | 15:30 |
Wreckedzador | (2) Did you run a fsck? | 15:30 |
sigurdson | I just asked how to post things on the community but i got no awnser :) | 15:31 |
nemo | hm | 15:38 |
nemo | oh well maybe he'll be back | 15:39 |
swift1102 | Hey guys | 18:38 |
swift1102 | sup folks | 19:26 |
=== caleb_ is now known as arch_n00b | ||
arch_n00b | this channel is used for frequent questions, correct? | 20:05 |
sixwheeledbeast | He'll be back tomorrow. | 20:55 |
Dekkard | what is the current LTS? | 23:03 |
fernando | boa noite a todos | 23:24 |
fernando | alguem pode me informar como faço para instalar o realplayer no ubuntu | 23:25 |
tsimonq2 | !es | 23:32 |
ubottu | En la mayorÃa de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro. | 23:32 |
tsimonq2 | fernando: :) | 23:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!