| 197 | }; |
| 198 | |
| 199 | struct ErrorOptions { |
| 200 | UChar32 subst = 0xFFFD; |
| 201 | bool elide_replacement = false; |
| 202 | bool replace_control_chars = false; |
| 203 | bool error_on_malformatting = false; |
| 204 | }; |
| 205 | |
| 206 | Status GetErrorOptions(OpKernelConstruction* ctx, ErrorOptions* out) { |
| 207 | *out = ErrorOptions(); |