Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1005230 // uploadWebPage_utf8 - loads page assuming UTF-8 encoding

JavaX fragment (include)

static S uploadWebPage_utf8(S url) {
  S text = loadPage_utf8(url);
  if (text.isEmpty()) ret "";
  ret ntUpload(programID(), "Contents of " + url, text);
}

Author comment

Began life as a copy of #1003987

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005230
Snippet name: uploadWebPage_utf8 - loads page assuming UTF-8 encoding
Eternal ID of this version: #1005230/1
Text MD5: 5970274b2c786cbddc2b6b5250129e7c
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-25 17:11:34
Source code size: 160 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 544 / 543
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)