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

6
LINES

< > BotCompany Repo | #1002914 // fsc - temporary measure to fix umlauts in JavaX string constants

JavaX fragment (include)

1  
static S fsc(S s) {
2  
  byte[] b = new byte[l(s)];
3  
  for (int i = 0; i < b.length; i++)
4  
    b[i] = (byte) s.charAt(i);
5  
  ret fromUtf8(b);
6  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1002914
Snippet name: fsc - temporary measure to fix umlauts in JavaX string constants
Eternal ID of this version: #1002914/1
Text MD5: c49a55c74ba63701cb27b02a3c8b03ab
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-05 02:28:12
Source code size: 142 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 612 / 582
Referenced in: [show references]