From bc1e138ee774615d2324395da3bded08975cc0a9 Mon Sep 17 00:00:00 2001
From: Pawel Wasowski
Date: Fri, 28 Apr 2017 13:26:24 +0200
Subject: [PATCH] [File] Add credits for an author of used code snippet
Change-Id: I66d8d25af0c389506e6be72003ee55479ab5431c
---
src/lib/plugins/cordova-plugin-file/tizen/FileWriter.js | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/lib/plugins/cordova-plugin-file/tizen/FileWriter.js b/src/lib/plugins/cordova-plugin-file/tizen/FileWriter.js
index e592166..c344315 100644
--- a/src/lib/plugins/cordova-plugin-file/tizen/FileWriter.js
+++ b/src/lib/plugins/cordova-plugin-file/tizen/FileWriter.js
@@ -21,7 +21,13 @@ cordova.define('cordova-plugin-file.tizen.FileWriter', function(require, exports
var convertTizenFileError = require('cordova-plugin-file.tizen.Errors');
var rootUtils = require('cordova-plugin-file.tizen.rootUtils');
-// https://stackoverflow.com/questions/18729405/how-to-convert-utf8-string-to-byte-array
+//Code created with the help of Stack Overflow question
+//http://stackoverflow.com/a/18729931
+//Question by don kaka:
+//https://stackoverflow.com/users/2408835/don-kaka
+//Answer by Joni and Damian:
+//https://stackoverflow.com/users/318758/joni
+//https://stackoverflow.com/users/3390/damian
function toUTF8Array(str) {
var utf8 = [];
for (var i = 0; i < str.length; ++i) {
--
2.7.4