Click here to Skip to main content
16,017,351 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: WTF-8 Pin
honey the codewitch18-Jun-24 4:15
mvahoney the codewitch18-Jun-24 4:15 
GeneralRe: WTF-8 Pin
PIEBALDconsult18-Jun-24 14:07
mvePIEBALDconsult18-Jun-24 14:07 
GeneralRe: WTF-8 Pin
honey the codewitch18-Jun-24 6:01
mvahoney the codewitch18-Jun-24 6:01 
GeneralRe: WTF-8 Pin
PIEBALDconsult18-Jun-24 14:10
mvePIEBALDconsult18-Jun-24 14:10 
GeneralRe: WTF-8 Pin
honey the codewitch18-Jun-24 15:01
mvahoney the codewitch18-Jun-24 15:01 
GeneralRe: WTF-8 Pin
PIEBALDconsult18-Jun-24 18:14
mvePIEBALDconsult18-Jun-24 18:14 
GeneralRe: WTF-8 Pin
honey the codewitch18-Jun-24 22:43
mvahoney the codewitch18-Jun-24 22:43 
GeneralRe: WTF-8 Pin
PIEBALDconsult19-Jun-24 3:12
mvePIEBALDconsult19-Jun-24 3:12 
honey the codewitch wrote:
they can't recursively decode UTF-8 without breaking the spec.

I don't see how you arrive at that conclusion.

honey the codewitch wrote:
not .NET's place to satisfy your requirement

I agree.

honey the codewitch wrote:
would break the spec

In what way exactly? Particularly if the caller has control over whether or not it does.

But you mentioned something about writing control characters in UTF-8 -- which include carriage-return, line-feed, form-feed, etc. -- so I don't understand what you meant that it would break UTF-8.

Whatever situation you are trying to communicate, I am sure .net can do it already, and it doesn't "break UTF-8".
General.NET Core & (auto)binding: Is it a bug? Pin
raddevus16-Jun-24 5:15
mvaraddevus16-Jun-24 5:15 
GeneralRe: .NET Core & (auto)binding: Is it a bug? Pin
0x01AA16-Jun-24 5:58
mve0x01AA16-Jun-24 5:58 
GeneralRe: .NET Core & (auto)binding: Is it a bug? Pin
raddevus16-Jun-24 6:52
mvaraddevus16-Jun-24 6:52 
GeneralRe: .NET Core & (auto)binding: Is it a bug? Pin
Richard Deeming16-Jun-24 21:52
mveRichard Deeming16-Jun-24 21:52 
GeneralRe: .NET Core & (auto)binding: Is it a bug? Pin
raddevus17-Jun-24 2:10
mvaraddevus17-Jun-24 2:10 
GeneralRe: .NET Core & (auto)binding: Is it a bug? Pin
jochance18-Jun-24 3:05
jochance18-Jun-24 3:05 
GeneralUntested Backups with IonicZip Pin
kmoorevs2-Jun-24 5:30
kmoorevs2-Jun-24 5:30 
GeneralRe: Untested Backups with IonicZip Pin
MarkTJohnson4-Jun-24 5:19
professionalMarkTJohnson4-Jun-24 5:19 
GeneralRe: Untested Backups with IonicZip Pin
kmoorevs4-Jun-24 6:49
kmoorevs4-Jun-24 6:49 
GeneralLooking at the very topmost line ... Pin
trønderen1-Jun-24 11:21
trønderen1-Jun-24 11:21 
GeneralRe: Looking at the very topmost line ... Pin
Greg Utas1-Jun-24 16:42
professionalGreg Utas1-Jun-24 16:42 
GeneralRe: Looking at the very topmost line ... Pin
Daniel Pfeffer1-Jun-24 19:57
professionalDaniel Pfeffer1-Jun-24 19:57 
GeneralRe: Looking at the very topmost line ... Pin
TNCaver4-Jun-24 5:58
TNCaver4-Jun-24 5:58 
GeneralRe: Looking at the very topmost line ... Pin
trønderen4-Jun-24 14:37
trønderen4-Jun-24 14:37 
GeneralRe: Looking at the very topmost line ... Pin
Daniel Pfeffer4-Jun-24 20:19
professionalDaniel Pfeffer4-Jun-24 20:19 
GeneralRe: Looking at the very topmost line ... Pin
trønderen5-Jun-24 3:21
trønderen5-Jun-24 3:21 
GeneralRe: Looking at the very topmost line ... Pin
Daniel Pfeffer5-Jun-24 8:29
professionalDaniel Pfeffer5-Jun-24 8:29 

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.