# `GSStringNeedsQuotes`

*Function*

checks if the string needs quotes. &plain returns if there are non ascii chars that need UTF encoding

## Declaration

```swift
func GSStringNeedsQuotes(_ value: String, _ isAscii: UnsafeMutablePointer<ObjCBool>?) -> Bool
```

```objc
BOOL GSStringNeedsQuotes(NSString *value, BOOL *isAscii);
```

```python
GSStringNeedsQuotes(value: str, isAscii: bool) -> bool
```

## See Also

### Strings

- [`GSCharNeedsQuotes`](/Core/GlyphsCore/GSCharNeedsQuotes)
- [`GSStringByIsolatingCombiningMarks`](/Core/GlyphsCore/GSStringByIsolatingCombiningMarks) — Inserts U+25CC DOTTED CIRCLE in front of every combining mark.
- [`GSGlyphNameContainsSuffix`](/Core/GlyphsCore/GSGlyphNameContainsSuffix) — Whether a glyph name contains a suffix delimited by glyph-name separators.

