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

format file with non-ascii characters #32

Closed
plubanski opened this issue May 14, 2014 · 0 comments
Closed

format file with non-ascii characters #32

plubanski opened this issue May 14, 2014 · 0 comments

Comments

@plubanski
Copy link

Formatting files with non-ascii characters doesn't work.
It's easier to show than describe whats wrong.
input file:

#import "Example.h"
// ń
@implementation Example
-(void) doSomethingWithString:(NSString*) string{
}
@end

expected result with WebKit style

#import "Example.h"
// ń
@implementation Example
- (void)doSomethingWithString:(NSString*)string
{
}
@end

actual result

#import "Example.h"
// ń
@implementation Example
-( void) oSomethingWithString:(NSString*) tring{

}
@end

when i remove ń letter from comment everything works as expected.
Formatting this file with command line clang-fomat works.

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

1 participant