Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
k2-fsa
/
sherpa-onnx
Public
Notifications
You must be signed in to change notification settings
Fork
1.7k
Star
15.1k
Code
Issues
575
Pull requests
79
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Fix #3171 : 去掉生成绝对路径函数中的窄字符WindowsAPI调用,改用宽字符API和C++17 std::filesystem来避免win平台中文路径问题
- #3255
#3255
Merged
csukuangfj
merged 9 commits into
k2-fsa:master
k2-fsa/sherpa-onnx:master
from
XiaoBaiCanDo:fix/file-utils-resolve-win-path
XiaoBaiCanDo/sherpa-onnx:fix/file-utils-resolve-win-path
Copy head branch name to clipboard
Jun 29, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Fix #3171 : 去掉生成绝对路径函数中的窄字符WindowsAPI调用,改用宽字符API和C++17 std::filesystem来避免win平台中文路径问题
#3255
csukuangfj
merged 9 commits into
k2-fsa:master
k2-fsa/sherpa-onnx:master
from
XiaoBaiCanDo:fix/file-utils-resolve-win-path
XiaoBaiCanDo/sherpa-onnx:fix/file-utils-resolve-win-path
Copy head branch name to clipboard
Commits
Commits on Mar 3, 2026
Fix:improve ResolveAbsolutePath function in file-utils.cc,还有判断文件存在函数也进行win平台宽字符适配
XiaoBaiCanDo
committed
391b62a
View commit details
Copy full SHA for 391b62a
Browse repository at this point
优化:FileExists和ReadFile都使用更新的filesystem API,补充:ResolveAbsolutePath的宽字符API
XiaoBaiCanDo
committed
750f6a3
View commit details
Copy full SHA for 750f6a3
Browse repository at this point
优化:扩大catch范围,合并前向声明
XiaoBaiCanDo
committed
3e6f259
View commit details
Copy full SHA for 3e6f259
Browse repository at this point
Commits on Mar 5, 2026
改用windowsAPI而非filesystem
XiaoBaiCanDo
committed
25c5a4e
View commit details
Copy full SHA for 25c5a4e
Browse repository at this point
Merge branch 'master' of https://github.com/k2-fsa/sherpa-onnx into fix/file-utils-resolve-win-path
XiaoBaiCanDo
committed
f27c320
View commit details
Copy full SHA for f27c320
Browse repository at this point
去掉不必要的try-catch,拆分过于复杂的判断条件
XiaoBaiCanDo
committed
43db5d0
View commit details
Copy full SHA for 43db5d0
Browse repository at this point
Commits on Mar 17, 2026
Apply suggestion from @Copilot
Show description for 01881d3
XiaoBaiCanDo
and
Copilot
authored
01881d3
View commit details
Copy full SHA for 01881d3
Browse repository at this point
file.tellg()可能返回-1,需要检查,显示转换size为无符号整数
XiaoBaiCanDo
committed
989488c
View commit details
Copy full SHA for 989488c
Browse repository at this point
Merge branch 'fix/file-utils-resolve-win-path' of https://github.com/XiaoBaiCanDo/sherpa-onnx into fix/file-utils-resolve-win-path
XiaoBaiCanDo
committed
853d5fa
View commit details
Copy full SHA for 853d5fa
Browse repository at this point
You can’t perform that action at this time.