Take a look at Markus Kuhn’s UTF-8 decoder capability and stress test file
You’ll find examples of many UTF-8 irregularities, including lonely start bytes, continuation bytes missing, overlong sequences, etc.
More Related Contents:
- How to run JUnit test cases from the command line
- Should I test private methods or only public ones? [closed]
- What does “DAMP not DRY” mean when talking about unit tests?
- What’s the difference between faking, mocking, and stubbing?
- What is a reasonable code coverage % for unit tests (and why)? [closed]
- What is the difference between unit tests and functional tests?
- How to run only one unit test class using Gradle
- How do I unit-test saving file to the disk?
- Why is the xUnit Runner not finding my tests
- How do I ignore the UTF-8 Byte Order Marker in String comparisons?
- Random data in Unit Tests?
- Mocking vs. Spying in mocking frameworks
- Mocking $modal in AngularJS unit tests
- Is UnitOfWork and GenericRepository Pattern redundant In EF 4.1 code first?
- How to test Spring Data repositories?
- Testing os.Exit scenarios in Go with coverage information (coveralls.io/Goveralls)
- What unit testing frameworks are available for F#
- To test a custom validation angularjs directive
- Any suggestions for testing extjs code in a browser, preferably with selenium?
- Proper package naming for testing with the Go language
- Any way to test EventEmitter in Angular2?
- How to unit test a component that depends on parameters from ActivatedRoute?
- Unit testing an observable in Angular 2
- Using Maven, how do I run specific tests?
- Is it possible to mock a function imported from a package?
- Rhino Mocks – Difference between GenerateStub & GenerateMock [closed]
- Why is it hard to unit test a system that depends on singletons?
- Example code for testing the filesystem in Golang
- Is duplicated code more tolerable in unit tests?
- When is a Test not a Unit-test?