ROBYNMILLS / cryptophane

Automatically exported from code.google.com/p/cryptophane
GNU General Public License v2.0
0 stars 0 forks source link

Human-readable data from GPG are not UTF-8 decoded #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Various key-related data such as key owners and key descriptions are
presented in raw UTF-8 form.

Original issue reported on code.google.com by tanarris...@yahoo.com on 20 Nov 2009 at 10:51

GoogleCodeExporter commented 9 years ago
Windows does not store file names in the format that Cryptophane uses, and the 
display can be rather strange. Cryptophane does, however, retain the proper 
characters when encrypting and signing files. The following is courtesy of 
Michael S. Kaplan, Microsoft Unicode wiz .... hth

Can you tell me how window XP encodes its filename/directory name? 
Is it already UTF-8? 

(I assume we are talking about NTFS here)

It is definitely not in UTF-8.

Furthermore, it is not in UCS-2, since you can have a filename with a 
supplementary character in it.

And it isn't in UTF-16, since it allows any sequence of unsigned short values 
which are not limited to valid Unicode characters and

So in one sense you could call it UTF-16 Plus since it basically adds a whole 
bunch of characters, though it is obviously less cool than actually using 
UTF-16 so perhaps it would be better to think of it as more of a UTF-16 Minus?

Or even better we just keep in mind that it isn't really a true Unicode 
encoding, just one that supports a lot of Unicode's characteristics and 
features and properties, while not really having a larger understanding of 
it....

Original comment by verslo.b...@gmail.com on 20 Feb 2011 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by verslo.b...@gmail.com on 20 Feb 2011 at 3:11

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by verslo.b...@gmail.com on 20 Feb 2011 at 3:12

Attachments:

GoogleCodeExporter commented 9 years ago
Don't write unrelated bullshit.

Original comment by tanarris...@yahoo.com on 25 Dec 2012 at 10:49