Click here to Skip to main content
15,885,141 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: The Magician's String, what you see is not what you get. Pin
KP Lee21-Aug-14 19:28
KP Lee21-Aug-14 19:28 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier21-Aug-14 23:42
professionalNicolas Dorier21-Aug-14 23:42 
GeneralRe: The Magician's String, what you see is not what you get. Pin
KP Lee22-Aug-14 15:47
KP Lee22-Aug-14 15:47 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier23-Aug-14 12:02
professionalNicolas Dorier23-Aug-14 12:02 
GeneralRe: The Magician's String, what you see is not what you get. Pin
KP Lee23-Aug-14 21:22
KP Lee23-Aug-14 21:22 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier24-Aug-14 0:02
professionalNicolas Dorier24-Aug-14 0:02 
GeneralRe: The Magician's String, what you see is not what you get. Pin
KP Lee24-Aug-14 15:28
KP Lee24-Aug-14 15:28 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier25-Aug-14 1:09
professionalNicolas Dorier25-Aug-14 1:09 
The 8207 is the character that has a graphical image of "/"


You are wrong this has nothing to do with "/"
Here is the same bug without "/" but with 8207.

C#
String str1 = "test";
String str2 = "test‏";


Moreover, a char is not ASCII but a 16 bit unicode character, contrary to C/C++.
GeneralRe: The Magician's String, what you see is not what you get. Pin
KP Lee23-Aug-14 22:02
KP Lee23-Aug-14 22:02 
GeneralRe: The Magician's String, what you see is not what you get. Pin
Nicolas Dorier24-Aug-14 0:05
professionalNicolas Dorier24-Aug-14 0:05 
GeneralWow, Just Wow PinPopular
Kevin Marois7-Aug-14 6:12
professionalKevin Marois7-Aug-14 6:12 
GeneralRe: Wow, Just Wow PinPopular
SoMad7-Aug-14 6:32
professionalSoMad7-Aug-14 6:32 
GeneralRe: Wow, Just Wow Pin
Vark1117-Aug-14 6:55
Vark1117-Aug-14 6:55 
GeneralRe: Wow, Just Wow Pin
Super Lloyd10-Aug-14 15:30
Super Lloyd10-Aug-14 15:30 
GeneralRe: Wow, Just Wow Pin
Ranjan.D7-Aug-14 7:10
professionalRanjan.D7-Aug-14 7:10 
GeneralRe: Wow, Just Wow Pin
DaveAuld7-Aug-14 7:24
professionalDaveAuld7-Aug-14 7:24 
GeneralRe: Wow, Just Wow Pin
KP Lee21-Aug-14 19:44
KP Lee21-Aug-14 19:44 
GeneralRe: Wow, Just Wow Pin
Pete O'Hanlon7-Aug-14 7:21
mvePete O'Hanlon7-Aug-14 7:21 
GeneralRe: Wow, Just Wow Pin
Rob Grainger7-Aug-14 7:45
Rob Grainger7-Aug-14 7:45 
GeneralRe: Wow, Just Wow Pin
fixthebugg7-Aug-14 10:11
fixthebugg7-Aug-14 10:11 
GeneralRe: Wow, Just Wow Pin
Brisingr Aerowing7-Aug-14 14:18
professionalBrisingr Aerowing7-Aug-14 14:18 
GeneralRe: Wow, Just Wow Pin
Bernhard Hiller7-Aug-14 21:43
Bernhard Hiller7-Aug-14 21:43 
AnswerRe: Wow, Just Wow Pin
Ravi Bhavnani10-Aug-14 10:53
professionalRavi Bhavnani10-Aug-14 10:53 
GeneralRe: Wow, Just Wow Pin
Marc Koutzarov29-Aug-14 21:48
professionalMarc Koutzarov29-Aug-14 21:48 
GeneralMore great naming Pin
Rob Grainger7-Aug-14 5:37
Rob Grainger7-Aug-14 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.