Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » string filtering bug
Re: string filtering bug [message #22521 is a reply to message #22520] Tue, 21 July 2009 21:28 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
luzr wrote on Tue, 21 July 2009 17:17

Thanks. First one fixed (hopefuly), second one I have to think through...


Thanks.
I think that the same kind of bug is in [] operator in String - it returns n-th byte instead of n-th letter. This example works fine:

	SetDefaultCharset(CHARSET_UTF8);
	String first_name = "John";
	String second_name = "Wayne";
	String login = first_name[0] + second_name;
	PromptOK(login);


But this one doesn't:

	SetDefaultCharset(CHARSET_UTF8);
	String first_name = "ˇohn";
	String second_name = "Wayne";
	String login = first_name[0] + second_name;
	PromptOK(login);

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: EOL problem
Next Topic: Environment variables code page
Goto Forum:
  


Current Time: Mon Jul 14 08:43:33 CEST 2025

Total time taken to generate the page: 0.03340 seconds