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

Image may be NSFW.
Clik here to view.

StUF – receiving data from a provider where UTF-8 is in fact ISO-8859

Recently when receiving information from a StUF webservice created by a large Dutch provider of government IT systems, we had an issue with characters having their high bit set. Although the...

View Article


Image may be NSFW.
Clik here to view.

CodeRage 4: sessions recorded; Delphi 2010 migration was a beeze;...

I just finished recording my CodeRage 4 sessions: Practical XML in Delphi Reliable Communication between Applications with Delphi and ActiveMQ Using Unicode and Other Encodings in your Programs...

View Article


Image may be NSFW.
Clik here to view.

CodeRage 4: session materials are available for download« The Wiert Corner –...

My CodeRage 4 session materials are available for download: Practical XML in Delphi Reliable Communication between Applications with Delphi and ActiveMQ Using Unicode and Other Encodings in your...

View Article

Image may be NSFW.
Clik here to view.

CodeRage 4: session “Practical XML in Delphi” chat and Q&A transcripts

Not only can you download CodeRage 4 session on materials on Practical XML in Delphi, but below you can also find the chat transcripts below. Note the times are a bit odd: when the chat window...

View Article

Image may be NSFW.
Clik here to view.

Regular expressions and the ASP.NET RegularExpressionValidator control – an...

Every now and then I need the ASP.NET RegularExpressionValidator control to validate some user input on a web-page using .NET Regular Expressions (which are very similar to regular expressions used in...

View Article


Image may be NSFW.
Clik here to view.

CodeRage 4: session “Reliable Communication between Applications with Delphi...

Not only can you download CodeRage 4 session on materials on Reliable Communication between Applications with Delphi and ActiveMQ, but below you can also find the chat transcripts below. VIP Room...

View Article

Image may be NSFW.
Clik here to view.

CodeRage 4: session “Using Unicode and Other Encodings in your Programs”...

Not only can you watch the video and download the CodeRage 4 session on materials on Using Unicode and Other Encodings in your Programs, but below you can also find the chat transcripts below. VIP Room...

View Article

Image may be NSFW.
Clik here to view.

CodeRage 4: session replays are online too!

Embarcadero has made available the replays of the CodeRage 4 sessions. You can find them in the CodeRage 4 sessions overview. In order to download them from that overview, NOTE: To access this session...

View Article


Image may be NSFW.
Clik here to view.

CodeRage 4 session material download locations changed – CodeCentral messed up

Somehow, CodeCentral managed to not only delete my uploaded CodeRage 4 session materials (the videos are fine!), but also newer uploads with other submissions. Since I’m in crush mode to get the BASTA!...

View Article


Image may be NSFW.
Clik here to view.

Delphi – MD5: the MessageDigest_5 unit has been there since Delphi 2007

I still see a lot of people crafting their own MD5 implementation. A lot of the existing MD5 implementations do not work well in Delphi 2009 and later (because they need to be adapted to Unicode). Many...

View Article

Image may be NSFW.
Clik here to view.

Delphi – HIGHCHARUNICODE directive (Delphi) – RAD Studio

I forgot about it, but this thread reminded be about the differences between these two character values. Quoting from the first post: c1 := #128; c2 := chr(128); Assert(c1 = c2); the assertion fails,...

View Article

Image may be NSFW.
Clik here to view.

Web means Unicode

Google published an interesting graph generated from their internal data based on their indexed web pages. A quick summary of popular encodings based on the graph: Unicode – almost 50% and rapidly...

View Article

Image may be NSFW.
Clik here to view.

Formatted sourcecode in WordPress now supports even more languages

I just found out that the sourcecode tag in WordPress now supports even more languages. This is the list of languages is below, it contains links to Wikipedia for each language. Starred ones (bold and...

View Article


Image may be NSFW.
Clik here to view.

.NET/C# – TEE filter that also runs on Windows (XP) Embedded

The usage of tee - image courtesey of Wikipedia The tee command stems from a *nix background. It is a command-line filter that allows you to deviate a stream from the regular stdout/stdin redirected...

View Article

Image may be NSFW.
Clik here to view.

*nix – Mastering the VI editor

Every once in a while I need to do some text editing in a *nix environment that has a minimum toolset installed. Which means: use VI. VI is a versatile text editor from the early *nix days, but it is...

View Article


Image may be NSFW.
Clik here to view.

.NET/C# – TEE filter that also runs on Windows (XP) Embedded – update

Last week, I posted a C# implementation of the tee filter from Sterling W. “Chip” Camden. Since then I have modified it slightly. Not because the implementation is bad, but because some pieces of...

View Article

Image may be NSFW.
Clik here to view.

Why SizeOf for character arrays is evil: stackoverflow question “Why does...

This Why does this code fail in D2010, but not D7 question on stackoverflow once again shows that SizeOf on character arrays usualy is evil. My point in this posting is that you should always try to...

View Article


Image may be NSFW.
Clik here to view.

Long pathname support: Watch for MAX_PATH (was: Windows pathname max length...

When you want to support long pathnames on Windows, you need to watch for the MAX_PATH limitation. Some tools, like RoboCopy (developed in C++), Beyond Compare (developed in Delphi) and others get it...

View Article

Image may be NSFW.
Clik here to view.

Comparisons for EBCDIC CCSID 37, 500 and 1047

The referenced article explains the difference in code points between EBCDIC CCSID 37 and EBCDIC CCSID 500, and the difference in code points between EBCDIC CCSID 37 and EBCDIC CCSID 1047: IBM CCSID...

View Article

Image may be NSFW.
Clik here to view.

Registry Search-Replace tools – correcting the havoc after a data migration

A while ago, I found myself in the situation where at a corporate client the user profiles had moved on the LAN. Very understandable: it was one of the migrations towards DFS. They notified this in...

View Article
Browsing all 160 articles
Browse latest View live