Quantcast
Channel: Encoding – The Wiert Corner – irregular stream of stuff
Browsing all 160 articles
Browse latest View live

When someone writes UTF-8 and UTF-16 strings to the same file in binary...

A while ago, I had to fix some stuff in an application that would write – using a binary mechanism – UTF-8 and UTF-16 strings (part of it XML in various flavours)  to the same byte stream without...

View Article


OpenSuSE Tumbleweed – testing the password of any user with getent and openssl

For one of my VMs I forgot to note which of the initial password I had changed, so I wanted to check them. Since I didn’t have a keyboard attached to the console and ssh wasn’t allowing root, I needed...

View Article


Encoding horror: Wayback Machine “Sorry.This snapshot cannot be displayed due...

Sorry.This snapshot cannot be displayed due to an internal error. When the Wayback Machine tries to display the archived https://plus.google.com/+KristianKöhntopp/posts/2yw9QFgCdtx which is about...

View Article

Image may be NSFW.
Clik here to view.

If Beyond Compare indicates “editing disabled” after starting from...

SourceTree 2.1 still doesn’t recognise that Beyond Compare is installed. I noticed that on my Mac, Beyond Compare wasn’t able to edit diffed files when it had been started from SourceTree. This struck...

View Article

cURL – POST an XML file as a stream

I hope I’m not alone on this but I find the cURL documentation hard to follow and short on examples. My goal was to mimic some HTTP XML posting traffic a server gets from IoT devices. Google Chrome...

View Article


Until someone writes proper string visualisers for the Delphi debugger…

A few tricks to write long strings to files when the Delphi debugger cuts them off (just because they like using 4k buffers internally);...

View Article

Valid reasons for having Delphi AnsiString on Mobile platform…not only for...

It’s too bad that you need workarounds to get ByteStrings working on mobile devices as there are APIs there (like shaders) that work best with them. There was a nice discussion on this last year at...

View Article

Image may be NSFW.
Clik here to view.

Michael Kaplan Obituary – Berkowitz-Kumin-Bookatz | Cleveland Heights OH (and...

I totally missed the passing of Michael Scott Kaplan some 2 years ago, so a belated R.I.P. is in place. Obituary for Michael Kaplan, Michael Scott Kaplan, 45, passed away Wednesday, October 21, 2015,...

View Article


Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledASt…

[WayBack] Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledAString(TEncoding.UTF8.GetBytes(Name))); – G+ – Allen Drennan Yes it should, but I’m not sure if the compiler is fully...

View Article


Plastic SCM command-line for merge and diff

Just in case I have Plastic SCM without Beyond Compare: Merge "C:\Program Files\PlasticSCM5\client\mergetool" -b="%TEMP%\baseFile-guid.pas" -bn="baseSymbolicName" -bh="baseHash"...

View Article

It looks like gmail finally understands Outlook Calendar entries

For a very long time, gMail did nothing with Outlook Calendar entires. So I had to view at the message source, then translate them to Google Calendar entries myself....

View Article

Image may be NSFW.
Clik here to view.

UTF-8 support for single byte character sets is beta in Windows and likely...

Uh-oh: [WayBack] Unicode in Microsoft Windows: UTF-8 – Wikipedia: Microsoft Windows has a code page designated for UTF-8, code page 65001. Prior to Windows 10 insider build 17035 (November 2017),[7] it...

View Article

including enumerations and JPEG compression examples for wPDF 4 Manual:...

Since I was tracking down an issue having to to with generating DIB in a compressed PDF: [Archive.is] wPDF 4 Manual: Compression related properties Property CompressStreamMethod By modifying this...

View Article


Image may be NSFW.
Clik here to view.

ls colour codes on OpenSuSE tumbleweed when accessed from Mac OS X ssh

`ls` colour codes I got confused as I thought red text would mean an error. But they’re not: greenish yellow on a read background means error (a symbolic link to a place that’s no longer there). It’s...

View Article

Delphi Galileo IDE (version 8 and up): Force files to be saved as UTF8 – The...

Though formatting mangled the registry key to add, the article is interesting: since 2003 (C# Builder 1), you can force the IDE to always save files as UTF8 which should alleviate a lot of encoding...

View Article


imagemagick – Command line convert webp to jpg? – Unix & Linux Stack Exchange

For my link archive: [WayBack] imagemagick – Command line convert webp to jpg? – Unix & Linux Stack Exchange [WayBack] Precompiled Utilities  |  WebP  |  Google Developers All these archives...

View Article

Image may be NSFW.
Clik here to view.

CSL Bearware 302658 DCF clock manual

The manual for the CSL Bearware 302658 clock that uses the DCF77 signal is at [WayBack] Bearware_Manual-302658-20161220FZ004.pdf. I like the relatively large 3.3 inch display and the blue background....

View Article


Image may be NSFW.
Clik here to view.

Bad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while...

Bad surprise of the day: SysUtils.TEncoding in XE2+ defaults to ANSI, while in XE it defaulted to UTF-8 .Among other things this means that TStringList… – Eric Grange – Google+ Source: Bad surprise of...

View Article

Common SMTP message size limits

After a 2018 discussion with a “zorgkantoor” (Dutch for office that arranges for special long term health care needs, successor of AWBZ) about their very low (10 megabyte) SMTP message size limit –...

View Article

Image may be NSFW.
Clik here to view.

Supermicro Bios Update – YouTube

I needed to get myself an OOB license for the BIOS update over the IPMI console or SUM (Supermicro Update Manager). An IPMI update can be done without an OOB license from the IPMI console, but the BIOS...

View Article
Browsing all 160 articles
Browse latest View live