[squeak-dev] ASN1 encoding of UTF8

Alan Pinch alan.c.pinch at gmail.com
Fri Sep 29 23:04:01 UTC 2017


To share my good news! I just got a port of Cryptography's ASN1 to Java 
passing tests. Now to get PhaseHeaders encoding right to bring 
bit-compatible encryption between Squeak and Java online.


Almost 50% more code in Java than squeak, just saying we have a concrete 
example of the efficacy of squeak over Java. They should have left it as 
the Oak Project and called it a day. Our day comes.

On 09/26/2017 05:08 PM, Alan Pinch wrote:
> I asked a question on stackoverflow, regarding UTC Time in java 
> conversions.
>
> https://stackoverflow.com/questions/46419082/java-conversion-from-to-asn1-datetimes 
>
>
> I thought you may like to know.
>
>
> On 09/25/2017 06:09 PM, Alan Pinch wrote:
>> I got BigIntegers working in java ASN1
>>
>> https://github.com/ZiroZimbarra/callistohouse
>>
>>
>> On 09/18/2017 12:29 PM, tim Rowledge wrote:
>>> We do have assorted string encoding stuff in the current image but 
>>> the actual UTF8 results of #squeakToUtf8 (for example) are just 
>>> ByteStrings. Which is actually rather confusing and annoying because 
>>> now you have no way to know what encoding is relevant other than be 
>>> carefully keeping track manually. Normally of course, within the 
>>> image we have perfectly usable strings because any time a unicode 
>>> character that is outside the 1-byte range is used the string 
>>> becomes a WideString.
>>>
>>> We need to do better. Look at TextEncoder and its hierarchy for more 
>>> info.
>>>
>>> tim
>>> -- 
>>> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
>>> Strange OpCodes: RLBM: Ruin Logic Board Multiple
>>>
>>>
>>>
>>
>

-- 
Thank you for your consideration,
Alan



More information about the Squeak-dev mailing list