Sublime Forum

StringEncode not working in ST3

#1

Hi,

I tried ST3 build version but StringEncode package is not working in windows 7 env. I tried to encode a text to base64 and It says python error. The error goes like “expected bytes instead of str”.

I am new to ST itself, so directly started using ST3. Did some googling on this and found that python 3 expects b’ before the string to encode. how to fix this ? Appreciate any pointer on this. Thanks.

Rgds
JKM

0 Likes