Skip to content

Commit e62e715

Browse files
committed
unicode issue in wrap_json_get_path
1 parent 91578d4 commit e62e715

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/json_value_module.F90

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4239,9 +4239,13 @@ subroutine wrap_json_get_path(json, p, path, found, use_alt_array_tokens, path_s
42394239
!! (default is '.')
42404240

42414241
character(kind=CK,len=:),allocatable :: ck_path !! path to the variable
4242+
character(kind=CK,len=1) :: sep
4243+
4244+
! from unicode:
4245+
sep = path_sep
42424246

42434247
! call the main routine:
4244-
call json_get_path(json,p,ck_path,found,use_alt_array_tokens,path_sep)
4248+
call json_get_path(json,p,ck_path,found,use_alt_array_tokens,sep)
42454249

42464250
! from unicode:
42474251
path = ck_path

0 commit comments

Comments
 (0)