URL Decoding - What on earth is this? - base64

I sincerely apologize if I'm in the wrong place with this question.
I'm hoping someone out there might know what kind of encoding is used here? It's google flights..
https://www.google.com/travel/flights/search?tfs=CBwQAhpCagcIARID WVVMagcIARIDWUhNEgoyMDIxLTA4LTExcgcIARIDRE9IcgcIARIDVEJTcgcIARIDQVVIcgcIARIDRFhCGkJqBwgBEgNET0hqBwgBEgNUQlNqBwgBEgNBVUhqBwgBEgNEWEISCjIwMjEtMDgtMTVyBwgBEgNZVUxyBwgBEgNZSE1wAYIBCwj___________8BQAFIA5gBAQ
I've been running parts of it through a Base64 decoder all day but I just can't see (perhaps I just don't understand) how this is Base64 entirely.
Parts seem like it's just Base64 but then others not, same with Base64 URL encoding.
Does anyone have any clue what kind of beast this is or can anyone offer any pointers as to what else it could be?

Related

How to read/change/write ISO-8859-1 files for non coders

I am not a developer so please bear with me with some basic questions.
There is a website where you can fill in a client data form on the site and then export it as a ISO-8859-1 coded file. You can also import ISO-8859-1 coded files there.
I on the other hand have client data in excel in CSV format.
What I would like to do is convert my CSV file in to the ISO encoded format so I can upload my client data files on the site without having to manually type in the form.
I have basic understanding of CSV files, but as I said im not a developer. First I thought I could open the ISO file in excel, just change the data in right columns, save and upload the file but it seems some of the data is indeed coded and not readable.
Is there some relatively easy way to learn how to do this (meaning for a non-coder putting a few hours of learning behind it)?
If yes, roughly where should I start looking, is there some kind of encoding programs I need to download, does Excel offer some kind of funcionality for this?
If no, meaning I would basically need to learn to program, where should I look to find a person who can do this? I guess it's very easy for someone who knows what they are doing? Any specific skills the person needs to have or is it basic programming question regardless of languages?
Thankful for any help, Vilho

I have this text file. I thought it looked like ASCII, but apparently it isn't. Tried decoding it, but no luck. Any clue as to how I can decode it?

I have never seen this before in my life, and am trying to decode it as best as possible. I'll include a small portion off the encoded data below:
ƒžk€‚u¶{ƒyƒj†€e€{{a€sŒyÝGU†ƒtC¨„Ž‰i€|‚…€€ƒx€xUer€‚C€Ix”郌ƒv‹¢t~kr˜å‰o€º€p…‚z€€~Œ„†MM´¾p€º…€}{ƒ–€€–€u˜~ùwa˜q
Š}
twvc|kŽ
tnvy*‚}€€†ƒ‹ƒg€„Õ|¢€€€}ƒ[„~€{€‹u{Õ‚p€éƒ¤K‚v›²}€z{xi²ù‹dýdÁKm‚Ýo~‘ý“gA®C}x…Q›‘ž‚zƒ€Œ‹ck™†„€ù–Žy…¼Ù~|‚.dwѶ€A|u“€pt‚‡€…A:„*€€†Ù€åŠ{—õ˜ÉKa…„|¸€{É6‚€€€ˆ€"wí~ñ€‚_†w¢v‚j€‚‹‰‚|ñ¶€‰’å_w‡•z{€ŽU‹€„ùIU|Gu”x´|É€n“•w€„ooS¬’}h‚
—€Šuq€Õt2€–yÝtyb†Šy™†¶€˜a€ƒ†€IÑÁ‚„vƒ™“e€„{Q€r¦U€í¾}€k‚’M€]z~aõe†u†E˜‹Ñ€&G•{€|¤Wy‰šƒ‚~Žpy€.]}pU¾ƒÙŠ°€C|{~‚~€œž~¾¸~q€†¨‹ƒ…Å}c}”~|…õƒ€s–m„–†€o€_ty…pªõ.&Œ”ˆlf…c
If anyone has any idea as to what this could possibly be, please don't hesitate to let me know!

How to extract video clips using the LibVLC API?

My question is exactly the same as this one, except that... is it possible to achieve the goal with LibVLC? Thanks!
By the way, are there any full-fledged tutorials or books for LibVLC? There are plenty modules mentioned in this page, but without a tutorial it's difficult/impossible for me to understand how they work. So far, the only tutorial I found is https://wiki.videolan.org/LibVLC_Tutorial/ which is very primitive and says nothing about demuxing, decoding, encoding or muxing. Any information or suggestion is highly appreciated!

Content-Transfer-Encoding: none - how to decode content?

I use the Lotus Notes NotesMIMEEntity to parse and convert emails. NotesMIMEEntity has a property "Encoding" which should give me the encoding of the current message.
Normally this works well, but for some message I get the (valid) result "none" or 1725.
Is there a default encoding I can use for decoding such messages such as quoted-printable? How can I determine in which format the message is in.
I tried the relavant RFCs but was unable to get any clear information. Another question here is doing an heuristic approach, is this really necessary?
Help is really appreciated.
If it's coming back with ENC_NONE (1725), that would suggest that the sending software omitted the Content-Transfer-Encoding header, or screwed it up in some way that made it unreadable.
Given that, you either have to assume it's not encoded at all, or you have to assume that the sending side might really have encoded it after all but forgotten to set the header. In the latter case, you might want to try to guess what econding it is -- i.e., the heuristic approach. Is that scenario really likely for the messages you're dealing with? I can't answer that for you. I also can't answer whether it's even really necessary for you to know the encoding. It depends on what your requirements are and what you're trying to do with the data. (E.g., if the requirement is that your Lotus Notes user must see it exactly how someone else who wasn't using Lotus Notes saw the message, the problem is that what someone else saw will depend on what assumptions the software they were using made! You can't really know!)
Frankly, I would just go with the former interpretation unless someone specifically showed me a message that was encoded but which had a bad Content-transfer-encoding header, and also managed to come up with a rational reason why the software should try to fix a message that was broken on the sending side.
BTW: bear in mind that 7bit, 8bit and binary all mean that the data is not encoded. The difference between them is just a 'hint' to the receiving system that if the data is re-transmitted via a different method, it might need to be encoded. In all of these cases, however, the right thing to do with data is to copy it without applying any transformation (unless of course you receive 8bit data but you're running in a 7 bit environment).
For normal SMTP, 7bit would be the default Content-Transfer-Encoding.
Specifically, to encode quoted-printable to 8bit you may use this PHP function:
string quoted_printable_decode ( string $str )

Avoid qrcode cloning

I was doing an app that reads qrcodes, and I was wondering how can I avoid that anyone with a qrcode generator could clone one of my qrcode.
I know I can't avoid the duplication (especially if you use a small number) but I was wondering if there is any approach I could use to reduce this or add an app validation to avoid this.
Thanks in advance
Either use a one-time-use id where the first person to access your URL wins, or just accept it as free advertising. If you really wanted to go to the trouble I guess you could probably print a watermark that obscures the code so it is unreadable, somewhat like the security features most checks have, but this really sounds like an XY problem.
Think about the problem you're really trying to solve and how so solve it. QR codes themselves are just as reproducible as emailing someone a link or giving someone a piece of paper with a word on it.

Resources