### Godot version

4.0.dev (ba9491f87)

### System information

Windows 11 Chrome 109.0.5414.75 (Official Build), iOS 16.2 Safari

### Issue description

When exporting a simple project for Web with any GDScript like following:
```gdscript
extends Control

```
will print the following error to the console:
```
USER ERROR: U_ILLEGAL_ARGUMENT_ERROR
   at: _is_confusable (modules\text_server_adv\text_server_adv.cpp:6151)
```

![image](https://user-images.githubusercontent.com/173001/214089154-d88f3f44-b670-41ec-9743-30627677968e.png)

For more complex project, following additional errors are showing:
```
USER ERROR: U_FILE_ACCESS_ERROR
   at: _spoof_check (modules\text_server_adv\text_server_adv.cpp:6174)
USER ERROR: U_ILLEGAL_ARGUMENT_ERROR
   at: _is_confusable (modules\text_server_adv\text_server_adv.cpp:6151)
```
When I've inserted `print_line(p_string)` at text_server_adv.cpp line 6172, following logs are collected:
![image](https://user-images.githubusercontent.com/173001/214091164-cb5af630-56d2-446e-b1c4-dc20066565d5.png)

It seems that the identifiers of *.gd files are printed to the console.


### Steps to reproduce

1. Open minimal reproduction project.
2. Exports to Web.
3. Open exported site with Chrome and open developer console.
4. Following error logs will be seen (reproduced): `USER ERROR: U_ILLEGAL_ARGUMENT_ERROR`

### Minimal reproduction project

[text_server_adv_error.zip](https://github.com/godotengine/godot/files/10481582/text_server_adv_error.zip)

_insert_feature("subscript", HB_TAG('s', 'u', 'b', 's'), Variant::Type::BOOL, false);
	_insert_feature("superscript", HB_TAG('s', 'u', 'p', 's'), Variant::Type::BOOL, false);
	_insert_feature("swash", HB_TAG('s', 'w', 's', 'h'), Variant::Type::INT, false);
	_insert_feature("titling", HB_TAG('t', 'i', 't', 'l'), Variant::Type::BOOL, false);
	_insert_feature("trailing_jamo_forms", HB_TAG('t', 'j', 'm', 'o'), Variant::Type::INT, true);
	_insert_feature("traditional_name_forms", HB_TAG('t', 'n', 'a', 'm'), Variant::Type::INT, false);
	_insert_feature("tabular_figures", HB_TAG('t', 'n', 'u', 'm'), Variant::Type::BOOL, false);
	_insert_feature("traditional_forms", HB_TAG('t', 'r', 'a', 'd'), Variant::Type::INT, false);
	_insert_feature("third_widths", HB_TAG('t', 'w', 'i', 'd'), Variant::Type::BOOL, false);
	_insert_feature("unicase", HB_TAG('u', 'n', 'i', 'c'), Variant::Type::BOOL, false);
	_insert_feature("alternate_vertical_metrics", HB_TAG('v', 'a', 'l', 't'), Variant::Type::INT, false);
	_insert_feature("vattu_variants", HB_TAG('v', 'a', 't', 'u'), Variant::Type::INT, true);
	_insert_feature("vertical_contextual_half_width_spacing", HB_TAG('v', 'c', 'h', 'w'), Variant::Type::BOOL, false);
	_insert_feature("vertical_alternates", HB_TAG('v', 'e', 'r', 't'), Variant::Type::INT, false);
	_insert_feature("alternate_vertical_half_metrics", HB_TAG('v', 'h', 'a', 'l'), Variant::Type::BOOL, false);
	_insert_feature("vowel_jamo_forms", HB_TAG('v', 'j', 'm', 'o'), Variant::Type::INT, true);
	_insert_feature("vertical_kana_alternates", HB_TAG('v', 'k', 'n', 'a'), Variant::Type::INT, false);
	_insert_feature("vertical_kerning", HB_TAG('v', 'k', 'r', 'n'), Variant::Type::BOOL, false);
	_insert_feature("proportional_alternate_vertical_metrics", HB_TAG('v', 'p', 'a', 'l'), Variant::Type::BOOL, false);
	_insert_feature("vertical_alternates_and_rotation", HB_TAG('v', 'r', 't', '2'), Variant::Type::INT, false);
	_insert_feature("vertical_alternates_for_rotation", HB_TAG('v', 'r', 't', 'r'), Variant::Type::INT, false);
	_insert_feature("slashed_zero", HB_TAG('z', 'e', 'r', 'o'), Variant::Type::BOOL, false);
	
	_insert_feature("italic", HB_TAG('i', 't', 'a', 'l'), Variant::Type::INT, false);
	_insert_feature("optical_size", HB_TAG('o', 'p', 's', 'z'), Variant::Type::INT, false);
	_insert_feature("slant", HB_TAG('s', 'l', 'n', 't'), Variant::Type::INT, false);
	_insert_feature("width", HB_TAG('w', 'd', 't', 'h'), Variant::Type::INT, false);
	_insert_feature("weight", HB_TAG('w', 'g', 'h', 't'), Variant::Type::INT, false);
}
int64_t TextServerAdvanced::_name_to_tag(const String &p_name) const {