Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unicode test to bob #1413

Closed
turnkey-commerce opened this issue Dec 2, 2018 · 3 comments
Closed

Add Unicode test to bob #1413

turnkey-commerce opened this issue Dec 2, 2018 · 3 comments

Comments

@turnkey-commerce
Copy link
Contributor

It would be instructive to add a case test to bob that includes Unicode characters. The proper handling of Unicode is important with international use of software applications and it would be beneficial for students to know that it exists and how to handle it. Anyone that has had to clean up an issue with Unicode in a code base can relate to this.

The best test case would probably be for the "Shouting" test where it must detect an upper-case Unicode character being present and classify it as shouting, for example: "¡FELIZ AÑO NUEVO!" ("HAPPY NEW YEAR!" in Spanish).

https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/

@NobbZ
Copy link
Member

NobbZ commented Dec 2, 2018

All exercises should be 7 bit ASCII. This is on purpose because many languages have basically no unicode support.

Each track is free to reinterpreted the canonical data and add unicode as they like

@rpottsoh
Copy link
Member

rpottsoh commented Dec 2, 2018

See #428 and #441.

@turnkey-commerce
Copy link
Contributor Author

@NobbZ and @rpottsoh Thanks for the info, too bad really, but understand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants