mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Set input encoding to utf8
This commit is contained in:
@@ -5,7 +5,7 @@ class Pasteboard
|
||||
signatureForMetadata: null
|
||||
|
||||
md5: (text) ->
|
||||
crypto.createHash('md5').update(text).digest('hex')
|
||||
crypto.createHash('md5').update(text, 'utf8').digest('hex')
|
||||
|
||||
write: (text, metadata) ->
|
||||
@signatureForMetadata = @md5(text)
|
||||
|
||||
Reference in New Issue
Block a user