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

6
LINES

< > BotCompany Repo | #1018091 // UTF8 fixing test for Apache Pika [dev.]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (5638L/40K).

!7

p-exp {
  print(fromUTF8(charsToSingleBytes(String.valueOf(new char[] {0x00c3, 0x00bc})))); // u umlaut
  print(fromUTF8(charsToSingleBytes(String.valueOf(new char[] {0xfffd, 0x0078})))); // eszett
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018091
Snippet name: UTF8 fixing test for Apache Pika [dev.]
Eternal ID of this version: #1018091/1
Text MD5: bc86c3d79181784b78d7f403e2562706
Transpilation MD5: 85e3108ba48919de3ff746c815c80a18
Author: stefan
Category: javax
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-31 14:36:07
Source code size: 208 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 256 / 618
Referenced in: [show references]